mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-02-13 11:40:33 -05:00
error handling
This commit is contained in:
parent
5809c5dc63
commit
01498de30c
2 changed files with 3 additions and 1 deletions
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
|
@ -100225,6 +100225,7 @@ class BaseDistribution {
|
|||
acquireWindowsNodeFromFallbackLocation(version_1) {
|
||||
return __awaiter(this, arguments, void 0, function* (version, arch = os_1.default.arch()) {
|
||||
const initialUrl = this.getDistributionUrl();
|
||||
core.info('url: ' + initialUrl);
|
||||
const osArch = this.translateArchToDistUrl(arch);
|
||||
// Create temporary folder to download to
|
||||
const tempDownloadFolder = `temp_${(0, uuid_1.v4)()}`;
|
||||
|
|
|
@ -196,6 +196,7 @@ export default abstract class BaseDistribution {
|
|||
arch: string = os.arch()
|
||||
): Promise<string> {
|
||||
const initialUrl = this.getDistributionUrl();
|
||||
core.info('url: ' + initialUrl);
|
||||
const osArch: string = this.translateArchToDistUrl(arch);
|
||||
|
||||
// Create temporary folder to download to
|
||||
|
|
Loading…
Add table
Reference in a new issue