Skip to content

Commit 5856514

Browse files
committed
build
1 parent 048d05a commit 5856514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9624,7 +9624,7 @@ async function run() {
96249624
const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
96259625

96269626
// Get owner and repo from context of payload that triggered the action
9627-
const { owner: currentOwner, repo: currentRepo } = context.repo;
9627+
const { owner: currentOwner, repo: currentRepo } = github.context.repo;
96289628

96299629
// Get the inputs from the workflow file: https://github.com/actions/toolkit/tree/master/packages/core#inputsoutputs
96309630
const tagName = core.getInput('tag_name', { required: true });
@@ -9635,7 +9635,7 @@ async function run() {
96359635
const body = core.getInput('body', { required: false });
96369636
const draft = core.getInput('draft', { required: false }) === 'true';
96379637
const prerelease = core.getInput('prerelease', { required: false }) === 'true';
9638-
const commitish = core.getInput('commitish', { required: false }) || context.sha;
9638+
const commitish = core.getInput('commitish', { required: false }) || github.context.sha;
96399639

96409640
const bodyPath = core.getInput('body_path', { required: false });
96419641
const owner = core.getInput('owner', { required: false }) || currentOwner;

0 commit comments

Comments
 (0)