mirror of
https://github.com/actions/setup-java.git
synced 2025-04-18 00:46:45 +00:00
chore: rebuild action
This commit is contained in:
parent
86039b0e74
commit
5f9ce8480a
2 changed files with 6 additions and 2 deletions
4
dist/cleanup/index.js
vendored
4
dist/cleanup/index.js
vendored
|
@ -90213,9 +90213,11 @@ function getGitHubHttpHeaders() {
|
|||
const token = core.getInput('token');
|
||||
const auth = !token ? undefined : `token ${token}`;
|
||||
const headers = {
|
||||
authorization: auth,
|
||||
accept: 'application/vnd.github.VERSION.raw'
|
||||
};
|
||||
if (auth) {
|
||||
headers.authorization = auth;
|
||||
}
|
||||
return headers;
|
||||
}
|
||||
exports.getGitHubHttpHeaders = getGitHubHttpHeaders;
|
||||
|
|
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
|
@ -127471,9 +127471,11 @@ function getGitHubHttpHeaders() {
|
|||
const token = core.getInput('token');
|
||||
const auth = !token ? undefined : `token ${token}`;
|
||||
const headers = {
|
||||
authorization: auth,
|
||||
accept: 'application/vnd.github.VERSION.raw'
|
||||
};
|
||||
if (auth) {
|
||||
headers.authorization = auth;
|
||||
}
|
||||
return headers;
|
||||
}
|
||||
exports.getGitHubHttpHeaders = getGitHubHttpHeaders;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue