Skip to content

Commit f0a6dc5

Browse files
committed
npm_config_arch must be lowercase
1 parent 0173d1b commit f0a6dc5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
CC: ${{ format('{0}-gcc', matrix.prefix) }}
120120
CXX: ${{ format('{0}-g++', matrix.prefix) }}
121121
LINK: ${{ format('{0}-g++', matrix.prefix) }}
122-
NPM_CONFIG_ARCH: ${{ matrix.arch }}
122+
npm_config_arch: ${{ matrix.arch }}
123123
NODE_VERSION: v18.15.0
124124

125125
steps:
@@ -155,8 +155,8 @@ jobs:
155155

156156
- name: Replace node with cross-compile equivalent
157157
run: |
158-
wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-${NPM_CONFIG_ARCH}.tar.xz
159-
tar -xf node-${NODE_VERSION}-linux-${NPM_CONFIG_ARCH}.tar.xz node-${NODE_VERSION}-linux-${NPM_CONFIG_ARCH}/bin/node --strip-components=2
158+
wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-${npm_config_arch}.tar.xz
159+
tar -xf node-${NODE_VERSION}-linux-${npm_config_arch}.tar.xz node-${NODE_VERSION}-linux-${npm_config_arch}/bin/node --strip-components=2
160160
mv ./node ./release-standalone/lib/node
161161
162162
# NOTE@jsjoeio - we do this so we can strip out the v
@@ -169,7 +169,7 @@ jobs:
169169
- name: Build packages with nfpm
170170
env:
171171
VERSION: ${{ env.VERSION }}
172-
run: yarn package ${NPM_CONFIG_ARCH}
172+
run: yarn package ${npm_config_arch}
173173

174174
- uses: softprops/action-gh-release@v1
175175
with:

0 commit comments

Comments
 (0)