Commit b19d3ef 1 parent 9733333 commit b19d3ef Copy full SHA for b19d3ef
File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,23 @@ jobs:
10
10
health_check :
11
11
permissions :
12
12
contents : write
13
+ outputs :
14
+ new_version : ${{ steps.version_bump.outputs.newTag }}
13
15
runs-on : ubuntu-latest
14
16
steps :
15
17
- name : Checkout code
16
18
uses : actions/checkout@v4
17
19
- name : all env
18
20
run : echo "${{ github.event.head_commit.message }}"
19
21
- name : ' Automated Version Bump'
22
+ id : version_bump
20
23
uses : ' phips28/gh-action-bump-version@master'
21
24
env :
22
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
26
24
- - name : print env all again
25
- run : env
27
+ use_new_version :
28
+ runs-on : ubuntu-latest
29
+ needs : bump_version
30
+ steps :
31
+ - name : Use New Version
32
+ run : echo "The new version is ${{ needs.bump_version.outputs.new_version }}"
You can’t perform that action at this time.
0 commit comments