From d4daa8a90b00034253022bd7a398d075391499d3 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Fri, 31 Mar 2023 01:14:16 +0900 Subject: [PATCH] fix snapcraft --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77799f73..4afb0913 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,7 @@ jobs: env: is_tag: ${{ startsWith(github.ref, 'refs/tags/v') }} + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} strategy: matrix: @@ -38,11 +39,8 @@ jobs: - run: yarn install --network-timeout 1000000 - name: Install and login to Snapcraft - uses: samuelmeuli/action-snapcraft@v1 + uses: samuelmeuli/action-snapcraft@v2 if: startsWith(matrix.os, 'ubuntu') - with: - # Log in to Snap Store - snapcraft_token: ${{ secrets.snapcraft_token }} - name: Save provisioning profile if: startsWith(matrix.os, 'macos')