Skip to content

Commit 6593f3e

Browse files
author
Nikolay Tkachenko
committed
Update go ver in alpine distr in the actions/bin flow
1 parent 30da48f commit 6593f3e

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/binaries.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,10 @@ jobs:
165165
matrix:
166166
include:
167167
- arch: amd64
168-
distro: alpine3.20
168+
distro: alpine
169169
artifact: amd64-musl
170170
- arch: "386"
171-
distro: alpine3.20
171+
distro: alpine
172172
artifact: 386-musl
173173
steps:
174174
- uses: actions/checkout@v2
@@ -274,10 +274,12 @@ jobs:
274274
go_distribution: https://go.dev/dl/go1.22.7.linux-arm64.tar.gz
275275
artifact: arm64-libc
276276
- arch: armv6
277-
distro: alpine3.20
277+
distro: alpine_latest
278+
go_distribution: https://go.dev/dl/go1.22.7.linux-armv6l.tar.gz
278279
artifact: armv6-musl
279280
- arch: aarch64
280-
distro: alpine3.20
281+
distro: alpine_latest
282+
go_distribution: https://go.dev/dl/go1.22.7.linux-arm64.tar.gz
281283
artifact: arm64-musl
282284
steps:
283285
- uses: actions/[email protected]
@@ -327,8 +329,12 @@ jobs:
327329
git \
328330
gzip \
329331
make \
330-
musl-dev \
331-
go
332+
musl-dev && \
333+
curl -sLo go.tar.gz ${{ matrix.go_distribution }} && \
334+
mkdir -p /usr/local/go && \
335+
tar -x -C /usr/local -f go.tar.gz && \
336+
rm go.tar.gz && \
337+
export PATH=${PATH}:/usr/local/go/bin
332338
;;
333339
esac
334340

0 commit comments

Comments
 (0)