Skip to content

Commit

Permalink
Merge pull request #20 from JuliaCI/pz/publish
Browse files Browse the repository at this point in the history
Sidestep snapcore/action-publish
  • Loading branch information
pabloferz authored May 1, 2024
2 parents 377b5ca + cd14246 commit 4ffde17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ jobs:
with:
architecture: ${{ matrix.platform }}
- name: Upload and Release
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_TOKEN }}
with:
snap: ${{ steps.snapcraft.outputs.snap }}
release: ${{ inputs.release == 'lts' && 'lts/stable' || inputs.release }}
run: |
sudo snap install --classic snapcraft --channel=7.x/stable
snapcraft upload ${{ steps.snapcraft.outputs.snap }} --release ${{ inputs.release == 'lts' && 'lts/stable' || inputs.release }}

0 comments on commit 4ffde17

Please sign in to comment.