Skip to content

Commit f228599

Browse files
author
Brian Munkholm
authored
Update pr-on-release.yml
1 parent ad7933a commit f228599

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/pr-on-release.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,16 @@ jobs:
1313
with:
1414
repository: bmunkholm/Test
1515
ref: ${{ github.event.release.target_commitish }}
16-
17-
- name: Set the value
18-
id: step_one
19-
run: echo "action_state=yellow" >> $GITHUB_ENV
20-
- name: Use the value
21-
id: step_two
22-
run: echo "ACTION ${{ env.action_state }}" # This will output 'yellow'
23-
16+
2417
- name: Get release version
25-
run: echo "version=${{ github.event.release.tag_name }}" >> GITHUB_ENV
18+
run: echo "version=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
2619

2720
- name: Checkout repo B
2821
uses: actions/checkout@v3
2922
with:
3023
repository: bmunkholm/test2
3124
ref: main
3225

33-
- name: Use the value
34-
id: step_two2
35-
run: echo "ACTION ${{ env.action_state }}" # This will output 'yellow'
36-
3726
- name: Update version file
3827
run: |
3928
echo "${{ env.version }}" > version.txt

0 commit comments

Comments
 (0)