From 7bbbe7e5c838a252853f804ccbd83eab903dca88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Thu, 1 Aug 2024 19:44:28 +0200 Subject: [PATCH] Use official build action. --- .github/workflows/publish.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d97f94d..14a9ec5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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.platform }} + - 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 \ No newline at end of file