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 2933f66 commit 4f626b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/pr-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: echo "action_state=yellow" >> $GITHUB_ENV
- name: Use the value
id: step_two
run: echo "${{ env.action_state }}" # This will output 'yellow'
run: echo "ACTION ${{ env.action_state }}" # This will output 'yellow'

- name: Get release version
run: echo "version=${{ github.event.release.tag_name }}" >> GITHUB_ENV
Expand All @@ -30,6 +30,10 @@ jobs:
repository: bmunkholm/test2
ref: main

- name: Use the value
id: step_two
run: echo "ACTION ${{ env.action_state }}" # This will output 'yellow'

- name: Update version file
run: |
echo "${{ env.version }}" > version.txt
Expand Down

0 comments on commit 4f626b1

Please sign in to comment.