File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed
Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ name : htop AppImage
2+ concurrency :
3+ group : build-${{ github.ref }}
4+ cancel-in-progress : true
5+
6+ on :
7+ schedule :
8+ - cron : " 0 16 1/10 * *"
9+ workflow_dispatch :
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - name : build
18+ run : |
19+ sudo apt update
20+ sudo apt install libfuse2
21+ sudo apt install libncursesw5-dev autotools-dev autoconf automake build-essential meson ninja-build
22+ wget https://raw.githubusercontent.com/Samueru-sama/htop-AppImage/main/htop-appimage.sh
23+ chmod a+x ./htop-appimage.sh
24+ ./htop-appimage.sh
25+ mkdir dist
26+ mv *AppImage dist/
27+
28+ - name : Upload artifact
29+ 30+ with :
31+ name : htop-x86_64.AppImage
32+ path : ' dist'
33+
34+ release :
35+ needs : [build]
36+ permissions : write-all
37+ runs-on : ubuntu-latest
38+
39+ steps :
40+ - uses : actions/download-artifact@v1
41+ with :
42+ name : htop-x86_64.AppImage
43+
44+ - name : release
45+ uses : marvinpinto/action-automatic-releases@latest
46+ with :
47+ title : Continuous build
48+ automatic_release_tag : continuous
49+ prerelease : false
50+ draft : false
51+ files : |
52+ htop-x86_64.AppImage
53+ repo_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments