Skip to content

Commit eab37b3

Browse files
committed
node.js is broken on Alpine 3.12
``` /usr/bin/docker exec b6b00889ce59b62d3fdddcf068b7ca6cd09606da324e33b7e3754c74054cb218 sh -c "cat /etc/*release | grep ^ID" Error relocating /__e/node24_alpine/bin/node: pthread_getname_np: symbol not found ``` Add an override to the Linux build matrix to use checkout@v4 instead, and hope it isn't deprecated/removed as long as we need to build for 3.12.
1 parent b4696fd commit eab37b3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/reusable-release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ jobs:
143143
{ image: "alpine:3.12"
144144
, installCmd: "apk update && apk add"
145145
, toolRequirements: "${{ needs.tool-output.outputs.apk_tools }}"
146+
# node.js is broken on 3.12
147+
# Error relocating /__e/node24_alpine/bin/node: pthread_getname_np: symbol not found
148+
, checkout_version: 4
146149
, DISTRO: "Unknown"
147150
, ARTIFACT: "x86_64-linux-alpine312"
148151
, ADD_CABAL_ARGS: "--enable-split-sections"
@@ -168,7 +171,7 @@ jobs:
168171
with:
169172
cabal: ${{ env.CABAL_VERSION }}
170173

171-
- uses: actions/checkout@v5
174+
- uses: actions/checkout@v${{ matrix.platform.checkout_version || 5 }}
172175
with:
173176
ref: ${{ matrix.branch }}
174177

@@ -533,6 +536,8 @@ jobs:
533536
{ image: "alpine:3.12"
534537
, installCmd: "apk update && apk add"
535538
, toolRequirements: "${{ needs.tool-output.outputs.apk_tools }}"
539+
# as above
540+
, checkout_version: 4
536541
, DISTRO: "Unknown"
537542
, ARTIFACT: "x86_64-linux-alpine312"
538543
},
@@ -551,7 +556,7 @@ jobs:
551556
run: |
552557
${{ matrix.platform.installCmd }} curl bash git ${{ matrix.platform.toolRequirements }}
553558
554-
- uses: actions/checkout@v5
559+
- uses: actions/checkout@v${{ matrix.platform.checkout_version || 5 }}
555560
with:
556561
ref: ${{ matrix.branch }}
557562

0 commit comments

Comments
 (0)