diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ea5d27e..501dddf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,21 +11,12 @@ permissions: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - platform: - - amd64 - - arm64 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 - uses: snapcore/action-publish@v1 env: SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }} with: - snap: ${{ steps.snapcraft.outputs.snap }} + snap: openchrom*.snap release: stable diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c1c4120..020c2d6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -6,8 +6,10 @@ description: OpenChrom® is an Open Source tool for the analysis and visualizati grade: stable confinement: strict architectures: -- build-on: amd64 -- build-on: arm64 + - build-on: [amd64] + build-for: [amd64] + - build-on: [amd64, arm64] + build-for: [arm64] apps: openchrom: extensions: