Skip to content

Commit 65ae7d7

Browse files
authored
refactor
1 parent 29764d4 commit 65ae7d7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/blank.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ concurrency:
55

66
on:
77
schedule:
8-
- cron: "0 16 1/7 * *"
8+
- cron: "0 16 1/14 * *"
99
workflow_dispatch:
1010

1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: build
1818
run: |
1919
sudo apt update
20-
sudo apt install libfuse2 libsensors-dev libdrm-dev libudev-dev libncursesw5-dev file libcap-dev
21-
sudo apt install ninja-build autotools-dev autoconf automake build-essential meson
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
20+
sudo apt install libsensors-dev libdrm-dev libudev-dev libncursesw5-dev \
21+
file libcap-dev ninja-build autotools-dev autoconf automake \
22+
build-essential meson desktop-file-utils zsync
23+
24+
chmod a+x ./*-appimage.sh && ./*-appimage.sh
2525
mkdir dist
26-
mv *AppImage dist/
26+
mv *.AppImage* dist/
2727
2828
- name: Upload artifact
2929
uses: actions/upload-artifact@v4
3030
with:
31-
name: htop-x86_64.AppImage
31+
name: htop.AppImage
3232
path: 'dist'
3333

3434
release:
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- uses: actions/download-artifact@v4
4141
with:
42-
name: htop-x86_64.AppImage
42+
name: htop.AppImage
4343

4444
- name: release
4545
uses: marvinpinto/action-automatic-releases@latest
@@ -49,5 +49,5 @@ jobs:
4949
prerelease: false
5050
draft: false
5151
files: |
52-
*.AppImage
52+
*.AppImage*
5353
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)