Skip to content

Stage v0.4.0

Stage v0.4.0 #19

Workflow file for this run

name: Linux
on:
workflow_call:
inputs:
release_tag:
required: true
type: string
release_name:
required: true
type: string
push:
branches:
- '**'
paths-ignore:
- '**/*.md'
- '**.md'
- '.github/**'
- 'docs/**'
pull_request:
branches:
- main
jobs:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Java
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
- name: Set up Flutter
uses: subosito/[email protected]
with:
channel: 'stable'
- name: Install dependencies
run: cd confichat && flutter pub get
- name: Update third party licenses Linux
run: cd confichat && flutter pub run flutter_oss_licenses:generate.dart
- name: Build Linux App
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
cd confichat
flutter config --enable-linux-desktop
flutter build linux --release