This repository was archived by the owner on Nov 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +59
-22
lines changed
Expand file tree Collapse file tree 2 files changed +59
-22
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+ schedule :
8+ # build at least once a month
9+ - cron : ' 0 0 1 * *'
10+
11+ jobs :
12+ build :
13+ strategy :
14+ matrix :
15+ include :
16+ - ARCH : x86_64
17+ DOCKER_IMAGE : quay.io/appimage/appimagebuild
18+ - ARCH : i686
19+ DOCKER_IMAGE : quay.io/appimage/appimagebuild-i386
20+ fail-fast : false
21+
22+ name : ${{ matrix.BUILD_TYPE }} ${{ matrix.ARCH }}
23+ runs-on : ubuntu-latest
24+
25+ env :
26+ ARCH : ${{ matrix.ARCH }}
27+ DOCKER_IMAGE : ${{ matrix.DOCKER_IMAGE }}
28+
29+ steps :
30+ - uses : actions/checkout@v2
31+ with :
32+ submodules : recursive
33+
34+ - name : Build
35+ run : docker run --rm -it -e ARCH -v "$PWD":/ws -w /ws "$DOCKER_IMAGE" /bin/bash -xe ./generate-plugin-script.sh
36+
37+ - name : Archive artifacts
38+ uses : actions/upload-artifact@v2
39+ with :
40+ name : plugin script
41+ path : linuxdeploy-plugin-checkrt-"$ARCH".sh
42+
43+ upload :
44+ name : Create release and upload artifacts
45+ needs :
46+ - build-and-test
47+ runs-on : ubuntu-latest
48+ steps :
49+ - name : Download artifacts
50+ uses : actions/download-artifact@v2
51+ - name : Inspect directory after downloading artifacts
52+ run : ls -alFR
53+ - name : Create release and upload artifacts
54+ env :
55+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56+ run : |
57+ wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
58+ chmod +x pyuploadtool-x86_64.AppImage
59+ ./pyuploadtool-x86_64.AppImage **/linuxdeploy*.AppImage*
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments