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:
181
181
182
182
- if : ${{ matrix.docker == true && matrix.alpine == true && matrix.arch == 'amd64' && matrix.os == 'ubuntu-latest' }}
183
183
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'
185
185
186
186
- if : ${{ matrix.docker == true && matrix.alpine == true && matrix.arch == 'arm64' && matrix.os == 'ubuntu-24.04-arm' }}
187
187
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'
189
189
190
190
release_dry_run :
191
191
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -70,7 +70,11 @@ build() {
70
70
if [ " ${PUBLISH:- false} " = true ]; then
71
71
(cd $node_pkg && npm publish --access public)
72
72
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
74
78
fi
75
79
done
76
80
}
You can’t perform that action at this time.
0 commit comments