Skip to content

Commit

Permalink
Update pr-on-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Munkholm authored Feb 25, 2023
1 parent 5108f54 commit 2933f66
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pr-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ jobs:
repository: bmunkholm/Test
ref: ${{ github.event.release.target_commitish }}

- name: Set the value
id: step_one
run: echo "action_state=yellow" >> $GITHUB_ENV
- name: Use the value
id: step_two
run: echo "${{ env.action_state }}" # This will output 'yellow'

- name: Get release version
run: echo "{version}={${{ github.event.release.tag_name }}}" >> GITHUB_ENV
run: echo "version=${{ github.event.release.tag_name }}" >> GITHUB_ENV

- name: Checkout repo B
uses: actions/checkout@v3
Expand Down

0 comments on commit 2933f66

Please sign in to comment.