Skip to content

Commit

Permalink
Fix: echo to $GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon committed Jan 29, 2024
1 parent 2bcd502 commit 2153c50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/minimal-tests-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,17 @@ jobs:
# This step allows 2mins before we check comments for binding repos/refs.
grace-period:
runs-on: ubuntu-latest
outputs:
pr-number: ${{ steps.set-output.outputs.pr-number }}
steps:
# This workflow runs for both merge_group and pull_request
# We need a way to get the pull request number that works for both cases.
# The action can do that.
- id: get-pr-number
uses: mgaitan/gha-get-pr-number@main
# This job also outputs the PR number
- run: echo "pr-number=${{ steps.get-pr-number.outputs.number }}"
- id: set-output
run: echo "pr-number=${{ steps.get-pr-number.outputs.number }}" >> $GITHUB_OUTPUT
# Sleep for 2 mins
- run: sleep 120

Expand Down

0 comments on commit 2153c50

Please sign in to comment.