Skip to content

Commit

Permalink
Fix Snap publishing in workflows. (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething committed Jun 15, 2022
1 parent 0e3d4cb commit 8a0a285
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ jobs:
make _build_snap && \
find doctl_v*.snap -print -exec echo ::set-output name=snap::{} \;
- uses: snapcore/action-publish@v1
- uses: snapcore/action-publish@master
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_TOKEN }}
with:
store_login: ${{ secrets.SNAP_TOKEN }}
snap: ${{ steps.build.outputs.snap }}
release: stable
5 changes: 3 additions & 2 deletions .github/workflows/snapcraft-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
make _build_snap && \
find doctl_v*.snap -print -exec echo ::set-output name=snap::{} \;
- uses: snapcore/action-publish@v1
- uses: snapcore/action-publish@master
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_TOKEN }}
with:
store_login: ${{ secrets.SNAP_TOKEN }}
snap: ${{ steps.build.outputs.snap }}
release: candidate

0 comments on commit 8a0a285

Please sign in to comment.