Skip to content

Commit 3ea4dab

Browse files
committed
Drop musl releases for now
1 parent fb2fbfd commit 3ea4dab

File tree

1 file changed

+47
-45
lines changed

1 file changed

+47
-45
lines changed

.github/workflows/publish.yaml

Lines changed: 47 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -81,56 +81,58 @@ jobs:
8181
env:
8282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8383

84-
publish-github-docker:
85-
runs-on: ${{ matrix.os }}
86-
container:
87-
image: node:${{ matrix.node_version }}-alpine
88-
strategy:
89-
fail-fast: false
90-
matrix:
91-
node_version:
92-
- 16
93-
- 18
94-
- 20
95-
- 21
96-
os:
97-
- buildjet-2vcpu-ubuntu-2204
98-
- buildjet-4vcpu-ubuntu-2204-arm
99-
steps:
100-
- run: apk add build-base git python3 wget github-cli
101-
# https://github.com/actions/runner/issues/801#issuecomment-1374967227
102-
- run: |
103-
apk add gcompat
104-
sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
105-
- uses: actions/checkout@v4
106-
with:
107-
ref: ${{ github.event.release.tag_name }}${{ github.event.inputs.name }}
108-
- uses: c-hive/gha-yarn-cache@v2
109-
- uses: actions-rs/toolchain@v1
110-
with:
111-
profile: minimal
112-
toolchain: stable
113-
override: true
114-
- name: Install modules
115-
run: yarn install --ignore-scripts
116-
- name: Build
117-
id: build
118-
run: |
119-
node publish.js
120-
cd bin-package
121-
echo "asset=$(echo *.tar.gz)" >> "$GITHUB_OUTPUT"
122-
- name: Upload release asset
123-
run: |
124-
git config --global --add safe.directory $(pwd)
125-
gh release upload ${{ github.event.release.tag_name }}${{ github.event.inputs.name }} bin-package/${{ steps.build.outputs.asset }} --clobber
126-
env:
127-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
84+
# The # WORKAROUND below doesn't work anymore, actions are forced to use a node20 runtime that doesn't work on alpine
85+
# publish-github-docker:
86+
# runs-on: ${{ matrix.os }}
87+
# container:
88+
# image: node:${{ matrix.node_version }}-alpine
89+
# strategy:
90+
# fail-fast: false
91+
# matrix:
92+
# node_version:
93+
# - 16
94+
# - 18
95+
# - 20
96+
# - 21
97+
# os:
98+
# - buildjet-2vcpu-ubuntu-2204
99+
# - buildjet-4vcpu-ubuntu-2204-arm
100+
# steps:
101+
# - run: apk add build-base git python3 wget github-cli
102+
# # WORKAROUND
103+
# # https://github.com/actions/runner/issues/801#issuecomment-1374967227
104+
# - run: |
105+
# apk add gcompat
106+
# sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
107+
# - uses: actions/checkout@v4
108+
# with:
109+
# ref: ${{ github.event.release.tag_name }}${{ github.event.inputs.name }}
110+
# - uses: c-hive/gha-yarn-cache@v2
111+
# - uses: actions-rs/toolchain@v1
112+
# with:
113+
# profile: minimal
114+
# toolchain: stable
115+
# override: true
116+
# - name: Install modules
117+
# run: yarn install --ignore-scripts
118+
# - name: Build
119+
# id: build
120+
# run: |
121+
# node publish.js
122+
# cd bin-package
123+
# echo "asset=$(echo *.tar.gz)" >> "$GITHUB_OUTPUT"
124+
# - name: Upload release asset
125+
# run: |
126+
# git config --global --add safe.directory $(pwd)
127+
# gh release upload ${{ github.event.release.tag_name }}${{ github.event.inputs.name }} bin-package/${{ steps.build.outputs.asset }} --clobber
128+
# env:
129+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128130

129131
publish-npm:
130132
if: '${{ github.event.release.tag_name }}'
131133
needs:
132134
- publish-github
133-
- publish-github-docker
135+
# - publish-github-docker
134136
runs-on: ubuntu-22.04
135137
steps:
136138
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)