Skip to content

Commit

Permalink
chore: Follow up build snap
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Nov 19, 2024
1 parent b440d56 commit 56f6f7c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
- uses: snapcore/action-build@v1
id: build
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}

0 comments on commit 56f6f7c

Please sign in to comment.