Skip to content

Build and Release Flutter Linux App #9

Build and Release Flutter Linux App

Build and Release Flutter Linux App #9

Workflow file for this run

name: Build and Release Flutter Linux App
on:
workflow_dispatch: # Trigger manually
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
channel: stable
flutter-version-file: pubspec.yaml
- name: Flutter version used
run: flutter --version
- name: Install Linux deps
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libwebkit2gtk-4.0-dev
- name: Install Dependencies
run: flutter pub get
- name: Build Release App
run: flutter build linux --release
- name: Upload Build Artifact (Linux)
uses: actions/upload-artifact@v2
with:
name: linux-build-artifact
path: build/linux/x64/release/bundle/app