Skip to content

Commit

Permalink
fix: inherit secrets in publish-snap workflow (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: guillaume <[email protected]>
  • Loading branch information
gruyaume committed Sep 9, 2024
1 parent 6674262 commit 228ac1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ jobs:
if: github.ref_name == 'main'
needs: [snap-build]
uses: ./.github/workflows/publish-snap.yaml
secrets: inherit
3 changes: 3 additions & 0 deletions .github/workflows/publish-snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Publish Snap

on:
workflow_call:
secrets:
SNAPCRAFT_STORE_CREDENTIALS:
required: true

jobs:
publish-snap:
Expand Down

0 comments on commit 228ac1d

Please sign in to comment.