mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
build
This commit is contained in:
parent
e75d7c128f
commit
0f9cdab0f5
1 changed files with 2 additions and 2 deletions
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
|
@ -6949,7 +6949,7 @@ const auth = __importStar(__webpack_require__(749));
|
|||
const path = __importStar(__webpack_require__(622));
|
||||
const cache_restore_1 = __webpack_require__(409);
|
||||
const url_1 = __webpack_require__(835);
|
||||
const os_1 = __importDefault(__webpack_require__(87));
|
||||
const os = __webpack_require__(87);
|
||||
function run() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
|
@ -6966,7 +6966,7 @@ function run() {
|
|||
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`');
|
||||
}
|
||||
if (!arch) {
|
||||
arch = os_1.default.arch();
|
||||
arch = os.arch();
|
||||
}
|
||||
if (version) {
|
||||
let token = core.getInput('token');
|
||||
|
|
Loading…
Add table
Reference in a new issue