Compare commits

..

35 Commits

Author SHA1 Message Date
1c0119c056 . 2020-05-18 11:37:12 -04:00
095ab69cb7 . 2020-05-18 11:35:54 -04:00
e7b5a7c545 . 2020-05-18 11:34:49 -04:00
e37249e03d support ghes 2020-05-18 10:01:07 -04:00
2ae9264901 back to master 2020-05-04 12:44:15 -04:00
2a0fbec10d output info 2020-05-03 19:18:32 -04:00
0a9e8b1d0f output info 2020-05-03 19:17:04 -04:00
a875da2574 output info 2020-05-03 19:14:57 -04:00
a80a170798 no proxy fix 2020-05-03 18:40:24 -04:00
5e7b076d00 dbg 2020-05-03 18:37:13 -04:00
8e221092f3 dbg 2020-05-03 18:34:17 -04:00
6a1b66a606 dbg 2020-05-03 18:30:29 -04:00
9fcef3fcea testing 7z alt 2020-05-03 18:23:27 -04:00
beb2155295 testing 7z alt 2020-05-03 18:22:18 -04:00
11f920585c no proxy issue 2020-05-03 18:12:05 -04:00
dd6f5ab66c only node binary issue 2020-05-03 18:09:05 -04:00
f7c5caf605 dbg 2020-05-03 16:37:13 -04:00
a4145577de dbg 2020-05-03 16:34:20 -04:00
42746a4f3c dbg 2020-05-03 16:18:09 -04:00
c8617ac6ae win change 2020-05-03 16:13:11 -04:00
1b2d431484 win change 2020-05-03 15:44:03 -04:00
5e5ef8fd55 update 2020-05-03 10:12:44 -04:00
2fb08c4f31 update workflows 2020-05-03 09:49:04 -04:00
e3ad114cc4 dist 2020-05-02 16:39:25 -04:00
501fd29d66 Merge branch 'master' into node-versions 2020-05-02 16:34:40 -04:00
2bdb2ab1c9 strip 1 on fallback extract 2020-05-02 16:26:50 -04:00
ed3a918d25 Merge pull request #153 from actions/start-v2
updated tests
2020-05-02 11:41:20 -04:00
efab84ad3c dist 2020-05-02 11:12:54 -04:00
8a1d983ace format 2020-05-02 11:08:26 -04:00
22c0aea623 cya snapshot 2020-05-02 11:06:05 -04:00
1c2f59fb67 format 2020-05-02 10:46:48 -04:00
ec6092f7d2 dbg 2020-05-02 10:45:32 -04:00
889def385d update ts-jest 2020-05-02 10:38:09 -04:00
8885b7194e updated tests 2020-05-02 09:51:47 -04:00
ecf0ce62f9 wip 2020-04-24 08:58:38 -04:00
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,7 @@
This action sets by node environment for use in actions by:
- optionally downloading and caching a version of node - npm by version spec and add to PATH
- registering problem matchers for error output
- configuring authentication for GPR or npm
- registering problem matchers for error output
# Usage
@ -20,7 +19,7 @@ steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '10.x'
- run: npm install
- run: npm test
```

3
dist/index.js vendored
View File

@ -10943,7 +10943,7 @@ function downloadTool(url, dest, auth) {
}
}
// Otherwise retry
return true;
return false;
});
});
}
@ -10965,6 +10965,7 @@ function downloadToolAttempt(url, dest, auth) {
};
}
const response = yield http.get(url, headers);
throw new HTTPError(500);
if (response.message.statusCode !== 200) {
const err = new HTTPError(response.message.statusCode);
core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);