@@ -107,59 +107,79 @@ jobs:
107107 name : dot-${{ needs.build-data.outputs.version }}.tar.bz2
108108 path : ./dot-${{ needs.build-data.outputs.version }}.tar.bz2
109109
110- # flatpak-64:
111- # name: 📦 Flatpak (64-bit)
112- # needs: [build-data, linux-64]
113- # runs-on: ubuntu-latest
114- # container:
115- # image: bilelmoussaoui/flatpak-github-actions:gnome-3.38
116- # options: --privileged
117-
118- # steps:
119- # - name: Clone packaging scripts
120- # run: git clone --recurse-submodules https://github.com/dothq/packages.git
121-
122- # - uses: actions/setup-node@v2
123- # with:
124- # node-version: '14'
125-
126- # - name: Download binaries
127- # run: |
128- # cd packages/flatpak
129- # node download.js
130- # tar -xvf dot.tar.bz2
131- # - uses: bilelmoussaoui/flatpak-github-actions@v2
132- # with:
133- # bundle: dot-${{ needs.build-data.outputs.version }}.flatpak
134- # manifest-path: './packages/flatpak/co.dothq.browser.nightly.yml'
135-
136- # - name: Upload artifact
137- # uses: actions/upload-artifact@v2
138- # with:
139- # name: dot-${{ needs.build-data.outputs.version }}.flatpak
140- # path: ./dot-${{ needs.build-data.outputs.version }}.flatpak
141-
142- # appimage-64:
143- # name: 📦 AppImage (64-bit)
144- # needs: [build-data, linux-64]
145- # runs-on: ubuntu-latest
146- # steps:
147- # - name: Clone packaging scripts
148- # run: git clone --recurse-submodules https://github.com/dothq/packages.git
149-
150- # - name: Build
151- # run: |
152- # cd packages/
153- # ./appimage/build.sh
154- # cp ./appimage/Dot_Browser-x86_64.AppImage ../Dot_Browser-x86-64.AppImage
155- # cp ./appimage/Dot_Browser-x86_64.AppImage.zsync ../Dot_Browser-x86-64.AppImage.zsync
156- # mv ../Dot_Browser-x86-64.AppImage ../dot-${{ needs.build-data.outputs.version }}.AppImage
110+ flatpak-64 :
111+ name : 📦 Flatpak (64-bit)
112+ needs : [build-data, linux-64]
113+ runs-on : ubuntu-latest
114+ container :
115+ image : bilelmoussaoui/flatpak-github-actions:gnome-3.38
116+ options : --privileged
117+
118+ steps :
119+ - name : Clone packaging scripts
120+ run : git clone --recurse-submodules https://github.com/dothq/packages.git
121+
122+ - uses : actions/setup-node@v2
123+ with :
124+ node-version : ' 14'
125+
126+ - uses : actions/download-artifact@v2
127+ with :
128+ name : dot-${{ needs.build-data.outputs.version }}.tar.bz2
129+
130+ - name : Display structure of downloaded files
131+ run : ls -R
132+
133+ - name : Download binaries
134+ run : |
135+ cd packages/flatpak
136+ node download.js
137+ cp ../../dot-${{ needs.build-data.outputs.version }}.tar.bz2/dot-${{ needs.build-data.outputs.version }}.tar.bz2 ./dot.tar.bz2
138+ tar -xvf dot.tar.bz2
139+ - uses : bilelmoussaoui/flatpak-github-actions@v2
140+ with :
141+ bundle : dot-${{ needs.build-data.outputs.version }}.flatpak
142+ manifest-path : ' ./packages/flatpak/co.dothq.browser.nightly.yml'
143+
144+ - name : Upload artifact
145+ uses : actions/upload-artifact@v2
146+ with :
147+ name : dot-${{ needs.build-data.outputs.version }}.flatpak
148+ path : ./dot-${{ needs.build-data.outputs.version }}.flatpak
149+
150+ appimage-64 :
151+ name : 📦 AppImage (64-bit)
152+ needs : [build-data, linux-64]
153+ runs-on : ubuntu-latest
154+ steps :
155+ - name : Clone packaging scripts
156+ run : git clone --recurse-submodules https://github.com/dothq/packages.git
157+
158+ - uses : actions/setup-node@v2
159+ with :
160+ node-version : ' 14'
161+
162+ - uses : actions/download-artifact@v2
163+ with :
164+ name : dot-${{ needs.build-data.outputs.version }}.tar.bz2
165+
166+ - name : Display structure of downloaded files
167+ run : ls -R
168+
169+ - name : Build
170+ run : |
171+ cd packages/
172+ cp ../dot-${{ needs.build-data.outputs.version }}.tar.bz2/dot-${{ needs.build-data.outputs.version }}.tar.bz2 ./appimage/dot.tar.bz2
173+ ./appimage/build.sh
174+ cp ./appimage/Dot_Browser-x86_64.AppImage ../Dot_Browser-x86-64.AppImage
175+ cp ./appimage/Dot_Browser-x86_64.AppImage.zsync ../Dot_Browser-x86-64.AppImage.zsync
176+ mv ../Dot_Browser-x86-64.AppImage ../dot-${{ needs.build-data.outputs.version }}.AppImage
157177
158- # - name: Upload artifact
159- # uses: actions/upload-artifact@v2
160- # with:
161- # name: dot-${{ needs.build-data.outputs.version }}.AppImage
162- # path: ./dot-${{ needs.build-data.outputs.version }}.AppImage
178+ - name : Upload artifact
179+ uses : actions/upload-artifact@v2
180+ with :
181+ name : dot-${{ needs.build-data.outputs.version }}.AppImage
182+ path : ./dot-${{ needs.build-data.outputs.version }}.AppImage
163183
164184 # linux-32:
165185 # name: 🐧 Linux (32-bit)
0 commit comments