diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 56759a78..dff45d4b 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -11,13 +11,20 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: [amd64, arm64] + platform: + - amd64 + - arm64 steps: - uses: actions/checkout@v4 - - uses: snapcore/action-build@v1 - id: build + - uses: docker/setup-qemu-action@v3 + # - uses: snapcore/action-build@v1 + # id: build + # with: + # snapcraft-args: --build-for=${{ matrix.platform }} + - uses: diddlesnaps/snapcraft-multiarch-action@v1 + id: snapcraft with: - snapcraft-args: --build-for=${{ matrix.arch }} + architecture: ${{ matrix.platform }} - uses: snapcore/action-publish@v1 env: SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}