Skip to content

Commit

Permalink
fix: config secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Jul 12, 2024
1 parent c7beac6 commit c41c79c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ jobs:
dry-run: ${{ github.event_name != 'push' || github.ref_name != 'main' }}
needs: [ typechecking, tests ]
uses: ./.github/workflows/release.yml
secrets: inherit
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
required: false
type: boolean
secrets:
MACOS_CSC_LINK:
description: 'A token passed from the caller workflow'
required: true
MACOS_CSC_LINK:
description: 'A token passed from the caller workflow'
required: true

concurrency:
group: release-${{ github.ref }}
Expand Down Expand Up @@ -60,10 +60,6 @@ jobs:
# Due to this issue https://github.com/electron-userland/electron-builder/issues/6411 the build with npx when rebuilding native dependencies hangs forever
# see https://github.com/cawa-93/vite-electron-builder/pull/953
command: ./node_modules/.bin/electron-builder --config electron-builder.yml --publish ${{ inputs.dry-run && 'never' || 'always' }}
secrets:
MACOS_CSC_LINK:
description: 'A token passed from the caller workflow'
required: true
env:
# Code Signing params
# See https://www.electron.build/code-signing
Expand Down

0 comments on commit c41c79c

Please sign in to comment.