Skip to content

Commit da6c345

Browse files
authored
👷 Add appimage to CI
1 parent 82ded79 commit da6c345

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

‎.github/workflows/build.yml‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,49 @@ jobs:
169169
webhook: ${{ secrets.DISCORD_WEBHOOK }}
170170
username: Build
171171
avatar_url: "https://github.com/dothq.png"
172+
173+
appimage-64:
174+
name: 📦 AppImage (64 bit)
175+
needs: linux-64
176+
177+
# The type of runner that the job will run on
178+
runs-on: ubuntu-latest
179+
180+
steps:
181+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
182+
- name: Clone packaging scripts
183+
run: git clone --recurse-submodules https://github.com/dothq/packages.git
184+
185+
- name: Export release data
186+
shell: bash
187+
run: |
188+
curl -L https://raw.githubusercontent.com/dothq/browser-desktop/nightly/package.json -o package.json
189+
echo "DOT_VERSION=$(cat package.json | sed -n 's|.*"firefox-display": "\([^"]*\)".*|\1|p')" >> $GITHUB_ENV
190+
echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
191+
192+
- name: Build
193+
run: |
194+
cd packages/
195+
./appimage/build.sh
196+
cp ./appimage/Dot_Browser-x86-64.AppImage ../Dot_Browser-x86-64.AppImage
197+
cp ./appimage/Dot_Browser-x86-64.AppImage.zsync ../Dot_Browser-x86-64.AppImage.zsync
198+
199+
- name: Release
200+
uses: dothq/tag-and-release-and-upload@master
201+
with:
202+
github-token: ${{ secrets.GITHUB_TOKEN }}
203+
version: '${{ env.DOT_VERSION }}-${{ github.run_id }}'
204+
name: 'Nightly v${{ env.DOT_VERSION }}'
205+
assets: '["Dot_Browser-x86-64.AppImage","Dot_Browser-x86-64.AppImage.zsync"]'
206+
overwrite: true
207+
208+
- name: Build webhook
209+
uses: dothq/actions-status-discord@master
210+
if: always()
211+
with:
212+
webhook: ${{ secrets.DISCORD_WEBHOOK }}
213+
username: Build
214+
avatar_url: "https://github.com/dothq.png"
172215

173216

174217
linux-32:

0 commit comments

Comments
 (0)