AppImage Release #1
Workflow file for this run
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: AppImage Release | |
on: | |
workflow_dispatch: | |
#on: | |
# push: | |
# branches: [ main ] | |
jobs: | |
build: | |
name: Build | |
runs-on: Ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '3.19.6' | |
- run: flutter channel dev | |
- run: flutter upgrade | |
- run: flutter config --enable-linux-desktop | |
- name: "Install dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y cmake ninja-build build-essential pkg-config curl file git unzip xz-utils zip libgtk-3-dev | |
- name: Build flutter app | |
run: flutter build linux | |
- name: Build AppImage unsing appimage-builder | |
uses: docker://appimagecrafters/appimage-builder:0.8.5 | |
with: | |
entrypoint: appimage-builder | |
args: --recipe ./AppImageBuilder.yml --skip-test | |
- name: Save build Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: AppImage | |
path: './*.AppImage*' | |
- name: Release AppImage | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
title: Continuous build | |
automatic_release_tag: 'continuous' | |
prerelease: true | |
draft: false | |
files: './*.AppImage*' | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |