From 56f6f7cd220f7426da795a5a9648585033728457 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Tue, 19 Nov 2024 17:21:12 +0100 Subject: [PATCH] chore: Follow up build snap --- .github/workflows/main_deploy.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 4a8e0f39d..eeaa5fcba 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -85,8 +85,6 @@ jobs: strategy: matrix: arch: [ x64, arm64 ] - env: - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} runs-on: ${{ matrix.arch == 'arm64' && 'self-hosted' || 'ubuntu-latest'}} steps: - uses: actions/checkout@v4 @@ -99,7 +97,8 @@ jobs: ./flutter/bin/flutter doctor - run: ./flutter/bin/flutter pub get - run: ./flutter/bin/flutter build linux --target-platform linux-${{ matrix.arch }} --release - - name: Install Snapcraft - uses: samuelmeuli/action-snapcraft@v3 - - run: snapcraft - - run: snapcraft push ./*.snap \ No newline at end of file + - uses: snapcore/action-build@v1 + id: build + - uses: snapcore/action-publish@v1 + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} \ No newline at end of file