diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml index 388e214..dc0d774 100644 --- a/.github/workflows/snap.yaml +++ b/.github/workflows/snap.yaml @@ -28,7 +28,7 @@ jobs: - name: Build the snap # Build the snap for the specified architecture in the matrix strategy above and save the snap file path to an output id: build-snap run: | - snapcraft build --destructive-mode --build-for=${{ matrix.architecture }} + snapcraft --destructive-mode --target-arch=${{ matrix.architecture }} SNAP_FILE=$(ls *.snap) echo "snap=$SNAP_FILE" >> $GITHUB_ENV echo "snap=$SNAP_FILE" >> $GITHUB_OUTPUT diff --git a/snapcraft.yaml b/snapcraft.yaml index b7074da..41f451c 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -8,7 +8,11 @@ grade: stable confinement: strict architectures: - - build-on: [amd64, i386, armhf, arm64, s390x] + - build-on: amd64 + - build-on: i386 + - build-on: armhf + - build-on: arm64 + - build-on: s390x parts: ngrok: