Skip to content

Commit

Permalink
update to use env
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jul 30, 2024
1 parent 45129a9 commit d950639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
workflow_runs=$(gh api -X GET "/repos/${{ github.repository }}/actions/runs?event=push&status=success" -q '.workflow_runs | map(select(.head_commit.id == "'"${commit_id}"'")) | sort_by(.created_at) | reverse | .[0]')
run_id=$(echo "$workflow_runs" | jq -r '.id')
echo "Run ID: ${run_id}"
echo "::set-output name=run_id::${run_id}"
echo "run_id=${run_id}" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Download npm artifact
uses: actions/download-artifact@v4
with:
run-id: ${{ steps.find_workflow.outputs.run_id }}
run-id: ${{ env.run_id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
name: npm
path: bld/npm

0 comments on commit d950639

Please sign in to comment.