|
|
|
@ -80,26 +80,3 @@ jobs:
|
|
|
|
|
bundle update fastlane
|
|
|
|
|
bundle exec fastlane deploy_internal_test
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
deploy_snapcraft:
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
arch: [ x64, arm64 ]
|
|
|
|
|
runs-on: ${{ matrix.arch == 'arm64' && 'self-hosted' || 'ubuntu-latest'}}
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
|
|
|
|
|
- name: Install dependencies
|
|
|
|
|
run: sudo apt-get update && sudo apt-get install git wget curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 libssl-dev libwebkit2gtk-4.1-dev -y
|
|
|
|
|
- name: Install Flutter
|
|
|
|
|
run: |
|
|
|
|
|
git clone --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git
|
|
|
|
|
./flutter/bin/flutter doctor
|
|
|
|
|
- run: ./flutter/bin/flutter pub get
|
|
|
|
|
- run: ./flutter/bin/flutter build linux --target-platform linux-${{ matrix.arch }} --release
|
|
|
|
|
- run: mv ./build/linux/${{ matrix.arch }}/release ./build/linux/
|
|
|
|
|
- uses: snapcore/action-build@v1
|
|
|
|
|
id: build
|
|
|
|
|
- uses: snapcore/action-publish@v1
|
|
|
|
|
env:
|
|
|
|
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
|