Skip to content

Commit

Permalink
Fixed missing process.env call.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFlynn committed Jul 7, 2024
1 parent 1762d11 commit 0f4fd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function getAssetURL(
): Promise<string> {
const tag: string = await getTagFromVersion(version);

const octokit = github.getOctokit(core.getInput("github-token"));
const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
const { data } = await octokit.rest.repos.getReleaseByTag({
owner: owner,
repo: repo,
Expand Down

0 comments on commit 0f4fd6f

Please sign in to comment.