-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ff15e6
commit 33f1bcb
Showing
2 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- name: Install Flutter | ||
uses: subosito/[email protected] | ||
with: | ||
flutter-version: '2.2.2' | ||
channel: 'master' | ||
- name: Enable desktop support | ||
run: flutter config --enable-windows-desktop | ||
- name: Build Windows app | ||
|
@@ -29,10 +29,35 @@ jobs: | |
uses: papeloto/action-zip@v1 | ||
with: | ||
files: ./build/windows/runner/Release/ | ||
dest: ./Windows.zip | ||
dest: ./windows.zip | ||
- name: Upload as asset | ||
uses: AButler/[email protected] | ||
with: | ||
files: './Windows.zip' | ||
files: './windows.zip' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
build_linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
- name: Install Flutter | ||
uses: subosito/[email protected] | ||
with: | ||
channel: 'master' | ||
- name: Enable desktop support | ||
run: | | ||
flutter config --enable-linux-desktop | ||
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev | ||
- name: Build Linux app | ||
run: flutter build linux | ||
- name: Create zip | ||
uses: papeloto/action-zip@v1 | ||
with: | ||
files: ./build/linux/x64/release/bundle/ | ||
dest: ./linux.zip | ||
- name: Upload as asset | ||
uses: AButler/[email protected] | ||
with: | ||
files: './linux.zip' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |