File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- check-version :
10- runs-on : ubuntu-latest
11- outputs :
12- release-version : ${{ steps.version.outputs.version }}
13- steps :
14- - name : Checkout
15- uses : actions/checkout@v4
16-
17- - name : Get version
18- id : version
19- run : echo "version=$(mvn -f pom.xml help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
20-
21- - name : Print version
22- run : echo ${{ steps.version.outputs.version }}
23-
24- - uses : mukunku/tag-exists-action@v1.6.0
25- name : Check tag existence
26- id : check-tag-exists
27- with :
28- tag : ${{ steps.version.outputs.version }}
29-
30- - name : Tag verification
31- id : check-tag
32- run : |
33- if [[ "${{ steps.check-tag-exists.outputs.exists }}" == "true" ]]; then
34- echo "Nothing to tag/release, the tag ${{ steps.version.outputs.version }} already exists"
35- exit 1
36- fi
379 build-release :
3810 runs-on : ubuntu-latest
3911 steps :
6941
7042 docker :
7143 needs :
72- - check-version
7344 - build-release
7445 runs-on : ubuntu-latest
7546 steps :
You can’t perform that action at this time.
0 commit comments