We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff3075 commit 4a60710Copy full SHA for 4a60710
src/setup.ts
@@ -31,7 +31,7 @@ async function setup() {
31
if (version.length === 0) {
32
// If no version is specified, the latest version is used by default.
33
const token = core.getInput('token', {required: true});
34
- const octokit = getOctokit(token);
+ const octokit = getOctokit(token, {baseUrl: 'https://api.github.com'});
35
const release = await octokit.rest.repos.getLatestRelease({
36
owner: 'mozilla',
37
repo: 'sccache'
0 commit comments