File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments