Skip to content

Commit 7981803

Browse files
author
You name
committed
fix: release workflow uses correct Wayland deps and st-wl binary
Was using X11 deps (libx11, libxft, libxrandr) and building 'st'. Now uses Wayland deps (wayland, wayland-protocols, libxkbcommon, pixman, harfbuzz, imlib2) and outputs st-wl.
1 parent c1d0eed commit 7981803

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
permissions:
1010
contents: write
1111

12+
env:
13+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
14+
1215
jobs:
1316
build:
1417
name: Build st-smpl
@@ -22,25 +25,32 @@ jobs:
2225
run: pacman -Sy --noconfirm --needed git
2326

2427
- uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
31+
- name: Configure git safe directory
32+
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
2533

2634
- name: Install build dependencies
2735
run: |
2836
pacman -Syu --noconfirm --needed \
29-
base-devel \
30-
libx11 libxft libxrandr \
37+
base-devel pkgconf \
38+
fontconfig freetype2 \
39+
wayland wayland-protocols libxkbcommon \
40+
pixman \
3141
harfbuzz \
3242
imlib2
3343
3444
- name: Build
3545
run: make
3646

3747
- name: Strip binary
38-
run: strip st
48+
run: strip st-wl
3949

40-
- name: Rename for release
50+
- name: Prepare release assets
4151
run: |
4252
VERSION="${GITHUB_REF_NAME#v}"
43-
cp st st-smpl-${VERSION}-x86_64
53+
cp st-wl "st-smpl-${VERSION}-x86_64"
4454
echo "BIN=st-smpl-${VERSION}-x86_64" >> "$GITHUB_ENV"
4555
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
4656

0 commit comments

Comments
 (0)