Skip to content

Commit

Permalink
Fix snap publish
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBoot authored Aug 24, 2024
1 parent 797a878 commit f2adee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snap-build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Publish snap
uses: snapcore/action-publish@v1
env:
SNAP_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
if: env.SNAP_STORE_CREDENTIALS
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
if: env.SNAPCRAFT_STORE_CREDENTIALS
with:
snap: ${{ steps.build.outputs.snap }}
release: latest/${{ startsWith(github.ref, 'refs/tags/') && 'candidate' || 'edge'}}

0 comments on commit f2adee1

Please sign in to comment.