The open-source Arc replacement for macOS. Spaces, pinned tabs, split view, Little Windows and Arc's shortcuts on Chromium, with your Arc sidebar imported in one go.
Release workflow: resolve certificate secret in job env
Victord770b3047871
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 8d343a5..ae96f66 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -31,6 +31,8 @@ jobs:runs-on: macos-15env:CRA_VERSION: ${{ github.event.inputs.version || github.ref_name }}+ # The secrets context is not allowed in step `if`s, so resolve it once here.+ HAS_CERT: ${{ secrets.MACOS_CERTIFICATE_P12 != '' }}steps:- uses: actions/checkout@v4@@ -49,7 +51,7 @@ jobs:- name: Import signing certificateid: cert- if: ${{ secrets.MACOS_CERTIFICATE_P12 != '' }}+ if: ${{ env.HAS_CERT == 'true' }}env:P12_BASE64: ${{ secrets.MACOS_CERTIFICATE_P12 }}P12_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}