-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.16 KB
/
github-actions-release-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Release linux app
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.0'
channel: 'stable'
cache: true
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get remove libunwind-*
sudo apt-get install -y clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev curl unzip xz-utils zip libglu1-mesa libunwind-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
- run: flutter build linux --release
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: skyle_ik-linux.zip
directory: build/linux/x64/release/bundle/
- name: Create Github Release
uses: ncipollo/release-action@v1
with:
artifacts: 'build/linux/x64/release/bundle/skyle_ik-linux.zip'
tag: '2.2.0'
commit: main
allowUpdates: true