Skip to content

Commit d6fea3c

Browse files
committed
update message to be more general
This considers self-hosted runners
1 parent 2bbfc76 commit d6fea3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4710,7 +4710,7 @@ function run() {
47104710
// if architecture supplied but node-version is not
47114711
// if we don't throw a warning, the already installed x64 node will be used which is not probably what user meant.
47124712
if (arch && !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`');
4713+
core.warning('`architecture` is provided but `node-version` is missing. In this configuration, the version/architecture of Node will not be changed. To fix this, provide `architecture` in combination with `node-version`');
47144714
}
47154715
if (!arch) {
47164716
arch = os.arch();

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function run() {
2222
// if we don't throw a warning, the already installed x64 node will be used which is not probably what user meant.
2323
if (arch && !version) {
2424
core.warning(
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`'
25+
'`architecture` is provided but `node-version` is missing. In this configuration, the version/architecture of Node will not be changed. To fix this, provide `architecture` in combination with `node-version`'
2626
);
2727
}
2828

0 commit comments

Comments
 (0)