upgrades for android #28
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: 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.1.0' | |
commit: main | |
allowUpdates: true |