@@ -81,59 +81,61 @@ jobs:
81
81
env :
82
82
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
83
83
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 }}
128
130
129
131
publish-npm :
130
132
if : ' ${{ github.event.release.tag_name }}'
131
133
needs :
132
134
- publish-github
133
- - publish-github-docker
135
+ # - publish-github-docker
134
136
runs-on : ubuntu-22.04
135
137
steps :
136
- - uses : actions/checkout@v2
138
+ - uses : actions/checkout@v4
137
139
with :
138
140
ref : ${{ github.event.release.tag_name }}
139
141
- uses : actions/setup-node@v4
0 commit comments