File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -181,11 +181,11 @@ jobs:
181181
182182 - if : ${{ matrix.docker == true && matrix.alpine == true && matrix.arch == 'amd64' && matrix.os == 'ubuntu-latest' }}
183183 name : test linux amd64 musl
184- run : docker run -v $PWD:/home --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }}-alpine bin/sh -c 'apk add jq gettext-envsubst bash curl gcompat file && cd /home && /home/script/ci/unpack-and-test.sh'
184+ run : docker run -v $PWD:/home -e NODE_VERSION=${{ matrix.node-version }} - -platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }}-alpine bin/sh -c 'apk add jq gettext-envsubst bash curl gcompat file && cd /home && /home/script/ci/unpack-and-test.sh'
185185
186186 - if : ${{ matrix.docker == true && matrix.alpine == true && matrix.arch == 'arm64' && matrix.os == 'ubuntu-24.04-arm' }}
187187 name : test linux arm64 musl
188- run : docker run -v $PWD:/home --platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }}-alpine bin/sh -c 'apk add jq gettext-envsubst bash curl file protoc protobuf-dev && cd /home && /home/script/ci/unpack-and-test.sh'
188+ run : docker run -v $PWD:/home -e NODE_VERSION=${{ matrix.node-version }} - -platform linux/${{ matrix.arch }} --rm node:${{ matrix.node-version }}-alpine bin/sh -c 'apk add jq gettext-envsubst bash curl file protoc protobuf-dev && cd /home && /home/script/ci/unpack-and-test.sh'
189189
190190 release_dry_run :
191191 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -70,7 +70,11 @@ build() {
7070 if [ " ${PUBLISH:- false} " = true ]; then
7171 (cd $node_pkg && npm publish --access public)
7272 else
73- (cd $node_pkg && npm publish --access public --dry-run)
73+ if [ " ${NODE_VERSION:- 0} " -ge 24 ] 2> /dev/null; then
74+ (cd " $node_pkg " && npm publish --access public --dry-run) || true
75+ else
76+ (cd $node_pkg && npm publish --access public --dry-run)
77+ fi
7478 fi
7579 done
7680}
You can’t perform that action at this time.
0 commit comments