You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/index.js
+3-3
Original file line number
Diff line number
Diff line change
@@ -4706,11 +4706,11 @@ function run() {
4706
4706
if (!version) {
4707
4707
version = core.getInput('version');
4708
4708
}
4709
-
let arch = core.getInput('node-arch');
4710
-
// if node-arch supplied but node-version is not
4709
+
let arch = core.getInput('architecture');
4710
+
// if architecture supplied but node-version is not
4711
4711
// if we don't throw a warning, the already installed x64 node will be used which is not probably what user meant.
4712
4712
if (arch && !version) {
4713
-
core.warning('`node-arch` is provided but `node-version` is missing. This results in using an already installed x64 node which is not probably what you meant. To fix this, provide `node-arch` in combination with `node-version`');
4713
+
core.warning('`architecture` is provided but `node-version` is missing. This results in using an already installed x64 node which is not probably what you meant. To fix this, provide `architecture` in combination with `node-version`');
Copy file name to clipboardExpand all lines: src/main.ts
+3-3
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ export async function run() {
16
16
version=core.getInput('version');
17
17
}
18
18
19
-
letarch=core.getInput('node-arch');
19
+
letarch=core.getInput('architecture');
20
20
21
-
// if node-arch supplied but node-version is not
21
+
// if architecture supplied but node-version is not
22
22
// if we don't throw a warning, the already installed x64 node will be used which is not probably what user meant.
23
23
if(arch&&!version){
24
24
core.warning(
25
-
'`node-arch` is provided but `node-version` is missing. This results in using an already installed x64 node which is not probably what you meant. To fix this, provide `node-arch` in combination with `node-version`'
25
+
'`architecture` is provided but `node-version` is missing. This results in using an already installed x64 node which is not probably what you meant. To fix this, provide `architecture` in combination with `node-version`'
0 commit comments