aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2022-10-03 12:51:00 +0200
committerGitHub <noreply@github.com>2022-10-03 12:51:00 +0200
commit9c6a901f304e14b3382ef5ec47ce087f889ade52 (patch)
treed7cdd514fcc9b79ff98fec0fb9a253f4462184a1 /.github
parentce788eb7a43d30270b10a42a1f750367235ade86 (diff)
Update main.js
Diffstat (limited to '.github')
-rw-r--r--.github/actions/github-release/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js
index 81a5b16..077926e 100644
--- a/.github/actions/github-release/main.js
+++ b/.github/actions/github-release/main.js
@@ -22,7 +22,7 @@ async function runOnce() {
core.info(`name: ${name}`);
core.info(`token: ${token}`);
- const octokit = new github.GitHub(token);
+ const octokit = github.getOctokit(token, options);
// Delete the previous release since we can't overwrite one. This may happen
// due to retrying an upload or it may happen because we're doing the dev