Skip to content

Commit

Permalink
Pass in release ID as envar
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymholt committed Oct 23, 2023
1 parent 6923553 commit 8512694
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
RELEASE_ID: ${{ steps.create-release.outputs.id }}
with:
script: |
console.log(`Fetching release_id: ${steps.create-release.outputs.id} ...`)
const releaseId = process.env.RELEASE_ID;
console.log(`Fetching release_id: ${releaseId} ...`)
const release = await github.rest.repos.getRelease({
release_id: process.env.RELEASE_ID,
owner: context.repo.owner,
Expand Down

0 comments on commit 8512694

Please sign in to comment.