build on release #4
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: | |
release: | |
types: [published] | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.19.5' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y cmake ninja-build pkg-config libgtk-3-dev libvulkan-dev | |
- name: Build Linux App | |
run: | | |
flutter pub get | |
flutter build linux | |
- name: Upload Linux Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: maid-linux | |
path: build/linux/x64/release/bundle |