File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1212 timeout-minutes : 10
1313 steps :
1414 - uses : actions/checkout@v5
15- - uses : aboutbits/github-actions-java/setup@v3
15+ - uses : aboutbits/github-actions-java/setup-with-maven@v4
1616 with :
1717 java-version : 21
1818 - name : Test
Original file line number Diff line number Diff line change @@ -20,10 +20,12 @@ jobs:
2020 with :
2121 token : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2222 - uses : aboutbits/github-actions-base/git-setup@v2
23- - uses : aboutbits/github-actions-java/setup@v3
24- - name : Set version of pom.xml file
25- run : yq -i '.project.version = "${{ github.event.inputs.version }}"' -I4 pom.xml
26- shell : bash
23+ - uses : aboutbits/github-actions-java/setup-with-maven@v4
24+ with :
25+ java-version : 21
26+ - uses : aboutbits/github-actions-java/set-version-with-maven@v4
27+ with :
28+ version : " ${{ github.event.inputs.version }}"
2729 - uses : aboutbits/github-actions-base/git-commit-and-push-all@v2
2830 with :
2931 message : ' ${{ github.event.inputs.version }}'
You can’t perform that action at this time.
0 commit comments