forked from CycloneDX/cdxgen
-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (25 loc) · 1.05 KB
/
appimage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: AppImage
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get install -y python3.8 python3.8-dev python3-pip python3-testresources python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev
# Install appimagetool AppImage
sudo wget https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage -O /usr/local/bin/appimagetool
sudo chmod +x /usr/local/bin/appimagetool
sudo pip3 install appimage-builder==0.8.1
mkdir -p appimage-builder-cache
wget https://github.com/AppImage/AppImageKit/releases/download/12/runtime-x86_64 -O appimage-builder-cache/runtime-x86_64
- name: Build AppImage
run: |
appimage-builder --recipe appimage-builder.yml --skip-test
env:
UPDATE_INFO: gh-releases-zsync|AppThreat|cdxgen|latest|*x86_64.AppImage.zsync
- uses: actions/upload-artifact@v2
with:
name: AppImage
path: './*.AppImage*'