Skip to content

Commit

Permalink
Use ARM runners.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Feb 13, 2025
1 parent ab8bc96 commit 7c26fa4
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,17 @@ permissions:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- amd64
- arm64
os: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: diddlesnaps/snapcraft-multiarch-action@v1
id: snapcraft
with:
architecture: ${{ matrix.platform }}
- uses: snapcore/action-build@v1
id: build
- 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 7c26fa4

Please sign in to comment.