Skip to content

Commit

Permalink
Use official build action.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Aug 1, 2024
1 parent 97171d5 commit 168327e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v1
- uses: diddlesnaps/snapcraft-multiarch-action@v1
id: snapcraft

- uses: snapcore/action-build@v1
id: build
with:
architecture: ${{ matrix.platform }}
snapcraft-args: --build-for=${{ matrix.arch }}

- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.snapcraft.outputs.snap }}
snap: ${{ steps.build.outputs.snap }}
release: stable

0 comments on commit 168327e

Please sign in to comment.