File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 4444 with :
4545 channel : ' master'
4646 - name : Enable desktop support
47- run : flutter config --enable-linux-desktop
47+ run : |
48+ flutter config --enable-linux-desktop
49+ sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
4850 - name : Build Linux app
4951 run : flutter build linux
5052 - name : Create artifact
Original file line number Diff line number Diff line change 1414 - name : Install Flutter
15151616 with :
17- flutter-version : ' 2.2.2 '
17+ channel : ' master '
1818 - name : Enable desktop support
1919 run : flutter config --enable-windows-desktop
2020 - name : Build Windows app
@@ -29,10 +29,35 @@ jobs:
2929 uses : papeloto/action-zip@v1
3030 with :
3131 files : ./build/windows/runner/Release/
32- dest : ./Windows .zip
32+ dest : ./windows .zip
3333 - name : Upload as asset
34343535 with :
36- files : ' ./Windows .zip'
36+ files : ' ./windows .zip'
3737 repo-token : ${{ secrets.GITHUB_TOKEN }}
3838
39+ build_linux :
40+ runs-on : ubuntu-latest
41+ steps :
42+ - name : Check out repository
43+ 44+ - name : Install Flutter
45+ 46+ with :
47+ channel : ' master'
48+ - name : Enable desktop support
49+ run : |
50+ flutter config --enable-linux-desktop
51+ sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
52+ - name : Build Linux app
53+ run : flutter build linux
54+ - name : Create zip
55+ uses : papeloto/action-zip@v1
56+ with :
57+ files : ./build/linux/x64/release/bundle/
58+ dest : ./linux.zip
59+ - name : Upload as asset
60+ 61+ with :
62+ files : ' ./linux.zip'
63+ repo-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments