⚡ Fixed Settings Option in Power Mode. #10
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: Build | |
on: [push] | |
jobs: | |
Debian-AppImage: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '3.16.5' | |
- name: Prepare | |
run: | | |
flutter --disable-analytics | |
flutter doctor -v | |
sudo apt update | |
sudo apt install ninja-build libgtk-3-dev -y | |
dart pub global activate flutter_to_debian | |
- name: Build and Test | |
run: | | |
flutter pub get | |
flutter analyze || true | |
# flutter test | |
- name: Build Debian using flutter_to_debian | |
run: | | |
flutter build linux | |
flutter pub run flutter_to_debian:main | |
- name: Build AppImage using appimage-builder | |
uses: docker://appimagecrafters/appimage-builder:0.8.5 | |
with: | |
entrypoint: appimage-builder | |
args: --recipe ./AppImageBuilder.yml --skip-test | |
- name: Save build as artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build | |
path: | | |
./*.AppImage | |
./debian/packages/*.deb | |
- name: Release | |
if: false # TODO | |
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 }} | |