chore: Follow up build snap
This commit is contained in:
parent
b440d56401
commit
56f6f7cd22
1 changed files with 5 additions and 6 deletions
11
.github/workflows/main_deploy.yaml
vendored
11
.github/workflows/main_deploy.yaml
vendored
|
|
@ -85,8 +85,6 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
arch: [ x64, arm64 ]
|
arch: [ x64, arm64 ]
|
||||||
env:
|
|
||||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
|
|
||||||
runs-on: ${{ matrix.arch == 'arm64' && 'self-hosted' || 'ubuntu-latest'}}
|
runs-on: ${{ matrix.arch == 'arm64' && 'self-hosted' || 'ubuntu-latest'}}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -99,7 +97,8 @@ jobs:
|
||||||
./flutter/bin/flutter doctor
|
./flutter/bin/flutter doctor
|
||||||
- run: ./flutter/bin/flutter pub get
|
- run: ./flutter/bin/flutter pub get
|
||||||
- run: ./flutter/bin/flutter build linux --target-platform linux-${{ matrix.arch }} --release
|
- run: ./flutter/bin/flutter build linux --target-platform linux-${{ matrix.arch }} --release
|
||||||
- name: Install Snapcraft
|
- uses: snapcore/action-build@v1
|
||||||
uses: samuelmeuli/action-snapcraft@v3
|
id: build
|
||||||
- run: snapcraft
|
- uses: snapcore/action-publish@v1
|
||||||
- run: snapcraft push ./*.snap
|
env:
|
||||||
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue