update linux ci #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build linux | |
on: | |
push: | |
tags: | |
- v*linux | |
jobs: | |
process: | |
name: Build process | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: Unlock secrets | |
uses: sliteteam/[email protected] | |
env: | |
GIT_CRYPT_KEY: ${{ secrets.ENCODED_GIT_CRYPT }} | |
- name: Flutter action | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y ninja-build libgtk-3-dev | |
flutter config --enable-linux-desktop | |
- name: Flutter pub get | |
run: flutter pub get | |
- name: Build Appimage | |
run: flutter build linux --release | |
- name: list files | |
run: ls -R build/linux/x64/release/bundle | |
- name: Publish Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: release-linux | |
path: build/linux/x64/release/bundle/fehviewer.AppDir/*.AppImage |