This repository was archived by the owner on Apr 3, 2025. It is now read-only.
File tree 3 files changed +29
-0
lines changed
actions/prepare_for_build
3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ runs:
157
157
shell : bash
158
158
run : |
159
159
flutter config --enable-linux-desktop
160
+ sudo apt-get update -y
161
+ sudo apt-get install -y ninja-build libgtk-3-dev
160
162
161
163
- name : Setup macOS Platform
162
164
if : ${{ inputs.platform == 'macos' }}
Original file line number Diff line number Diff line change 25
25
with :
26
26
name : linux-snapcraft
27
27
path : ${{ github.workspace }}/output
28
+
29
+ build-tarball :
30
+ name : Tarball Archive
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - name : Setup Environment
34
+ uses : JagandeepBrar/LunaSea/.github/actions/prepare_for_build@master
35
+ with :
36
+ platform : linux
37
+
38
+ - name : Build LunaSea
39
+ run : flutter build linux
40
+
41
+ - name : Prepare Artifact
42
+ run : tar czf output/lunasea-linux-amd64.tar.gz -C build/linux/x64/release/bundle/ .
43
+
44
+ - name : Upload Artifact
45
+ uses : actions/upload-artifact@v3
46
+ with :
47
+ name : linux-tarball
48
+ path : ${{ github.workspace }}/output
Original file line number Diff line number Diff line change 47
47
name : ios-appstore-package
48
48
path : ${{ github.workspace }}/output
49
49
50
+ - name : Download Linux Tarball
51
+ uses : actions/download-artifact@v3
52
+ with :
53
+ name : linux-tarball
54
+ path : ${{ github.workspace }}/output
55
+
50
56
- name : Download Linux Snap
51
57
uses : actions/download-artifact@v3
52
58
with :
You can’t perform that action at this time.
0 commit comments