fix: pass in tokenless

This commit is contained in:
Tom Hu 2024-05-23 00:51:45 +07:00
parent 1649099795
commit d70aeba507
No known key found for this signature in database
GPG key ID: 79155678363963D2
3 changed files with 3 additions and 4 deletions

2
dist/index.js vendored
View file

@ -32353,7 +32353,7 @@ const isPullRequestFromFork = () => {
const getToken = () => buildExec_awaiter(void 0, void 0, void 0, function* () {
if (isPullRequestFromFork()) {
core.info('==> Fork detected, tokenless uploading used');
return Promise.resolve('');
return Promise.resolve('tokenless');
}
let token = core.getInput('token');
let url = core.getInput('url');

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long