Skip to content

Commit

Permalink
Added a cast for Octokit
Browse files Browse the repository at this point in the history
  • Loading branch information
tbartelmess committed Mar 25, 2021
1 parent e60c6bd commit 9d33f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function run(): Promise<void> {

let annotations = await xcresulttool.transformXCodeResults(inputFile)
core.debug(`Creating a new Run on ${ownership.owner}/${ownership.repo}@${sha}`);
const id = await createRun(octokit, "Test Results", sha, ownership, {"annotations": annotations});
const id = await createRun((octokit as Octokit), "Test Results", sha, ownership, {"annotations": annotations});
core.setOutput('check_id', id);
core.debug(`Done`);
} catch (error) {
Expand Down

0 comments on commit 9d33f7f

Please sign in to comment.