Skip to content

Commit

Permalink
run the thing
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin authored Dec 23, 2023
1 parent 47de509 commit 0afad19
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/oidc-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ jobs:
'x-github-jwt': githubJwt
}
});
const apiToken = await response.json();
const data = await response.json();
console.log(`json response`, data);
fs.writeFileSync(process.env.GITHUB_ENV, `TRUNK_API_TOKEN=${data.TRUNK_API_TOKEN}\n`);
- name: dump env
shell: bash
run: env | sort

console.log(`fetched token`, apiToken);

0 comments on commit 0afad19

Please sign in to comment.