Skip to content

Commit b19d3ef

Browse files
committed
Just a small commit
1 parent 9733333 commit b19d3ef

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/test2.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,23 @@ jobs:
1010
health_check:
1111
permissions:
1212
contents: write
13+
outputs:
14+
new_version: ${{ steps.version_bump.outputs.newTag }}
1315
runs-on: ubuntu-latest
1416
steps:
1517
- name: Checkout code
1618
uses: actions/checkout@v4
1719
- name: all env
1820
run: echo "${{ github.event.head_commit.message }}"
1921
- name: 'Automated Version Bump'
22+
id: version_bump
2023
uses: 'phips28/gh-action-bump-version@master'
2124
env:
2225
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2326

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 }}"

0 commit comments

Comments
 (0)