diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2022-10-03 12:51:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-03 12:51:00 +0200 |
| commit | 9c6a901f304e14b3382ef5ec47ce087f889ade52 (patch) | |
| tree | d7cdd514fcc9b79ff98fec0fb9a253f4462184a1 | |
| parent | ce788eb7a43d30270b10a42a1f750367235ade86 (diff) | |
Update main.js
| -rw-r--r-- | .github/actions/github-release/main.js | 2 |
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 |