Fix custom distribution setting #271
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Dart | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: sudo apt-get update -y | |
- run: sudo apt-get install -y ninja-build libgtk-3-dev libkeybinder-3.0-0 libkeybinder-3.0-dev rpm mesa-utils | |
- run: flutter config --enable-linux-desktop | |
- run: bash build-deb.sh | |
- name: Upload deb | |
uses: actions/upload-artifact@v1 | |
with: | |
name: linux-assistant-deb | |
path: linux-assistant.deb | |
- run: bash build-rpm.sh | |
- name: Upload rpm | |
uses: actions/upload-artifact@v1 | |
with: | |
name: linux-assistant-rpm | |
path: /home/runner/rpmbuild/RPMS/x86_64/ | |