Skip to content

Commit c56f809

Browse files
committed
CI: Update step names
1 parent 028b0a6 commit c56f809

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Checkout
2929
uses: actions/checkout@v4
3030

31-
- name: Get GTK Version
31+
- name: Get GTK version
3232
run: |
3333
source PKGBUILD
3434
echo "GTK_VERSION=${_gtkver}" >> $GITHUB_ENV
@@ -51,7 +51,7 @@ jobs:
5151
source PKGBUILD
5252
tar -xzf gtk*.tar.gz
5353
54-
- name: Install Dependencies
54+
- name: Install build dependencies
5555
run: |
5656
echo "deb-src http://gb.archive.ubuntu.com/ubuntu/ focal main" | sudo tee -a /etc/apt/sources.list
5757
sudo apt-get update
@@ -60,15 +60,15 @@ jobs:
6060
sudo apt-get install libgif-dev libelf-dev
6161
6262
# Uses PKGBUILD prepare() directly
63-
- name: Apply Patches
63+
- name: Apply patches
6464
run: |
6565
source PKGBUILD
6666
srcdir="$(pwd)"
6767
prepare
6868
6969
# Uses PKGBUILD build() directly
7070
# Build system may connect to GNOME's GitLab to retrieve glib dependency
71-
- name: Build
71+
- name: Build GTK
7272
run: |
7373
source PKGBUILD
7474
arch-meson() { meson "$@"; }
@@ -84,19 +84,19 @@ jobs:
8484
- name: Checkout
8585
uses: actions/checkout@v4
8686

87-
- name: Get GTK Version
87+
- name: Get GTK version
8888
run: |
8989
source PKGBUILD
9090
echo "GTK_VERSION=${_gtkver}" >> $GITHUB_ENV
9191
92-
- name: Cache GTK Source
92+
- name: Cache GTK source
9393
uses: actions/cache@v4
9494
id: gtksrc
9595
with:
9696
path: 'gtk*.tar.gz'
9797
key: gtk-${{ env.GTK_VERSION }}
9898

99-
- name: Cache Pacman Packages
99+
- name: Cache packages for pacman
100100
uses: actions/cache@v4
101101
env:
102102
cache-name: pacman-cache
@@ -125,12 +125,15 @@ jobs:
125125
run: |
126126
# Validate the PKGBUILD - these commands modify the file
127127
docker exec --workdir=/workspace --user builder archlinux makepkg --geninteg
128-
docker exec --workdir=/workspace --user builder archlinux namcap -i PKGBUILD
129128
130129
# Inform the user if changes need to be made
131130
md5sum -c PKGBUILD.md5 || (echo -e "\nTo fix, please push a commit with the following changes to the PKGBUILD file.\nHere's the patch:\n" && diff -u PKGBUILD.before PKGBUILD)
132131
133-
- name: Make Package
132+
- name: Lint package
133+
run: |
134+
docker exec --workdir=/workspace --user builder archlinux namcap -i PKGBUILD
135+
136+
- name: Make package
134137
run: |
135138
docker exec --workdir=/workspace --user builder archlinux makepkg -s --noconfirm
136139
@@ -139,7 +142,7 @@ jobs:
139142
docker stop archlinux -t 1
140143
docker rm archlinux
141144
142-
- name: Upload Package
145+
- name: Upload package
143146
uses: actions/upload-artifact@v4
144147
with:
145148
name: gtk3-classic-run${{github.run_number}}-pkg

0 commit comments

Comments
 (0)