File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ jobs:
38
38
# cache: npm
39
39
- name : Build with Maven
40
40
if : steps.increment-version.outputs.previous-version != steps.increment-version.outputs.new-version # skip anything build-related on unnecessary commits
41
- run : mvnw -B package -Drevision='${{ steps.increment-version.outputs.new-version }}' -Dchangelog='' --file pom.xml
41
+ run : ./ mvnw -B package -Drevision='${{ steps.increment-version.outputs.new-version }}' -Dchangelog='' --file pom.xml
42
42
- name : Update pom.xml
43
43
if : steps.increment-version.outputs.previous-version != steps.increment-version.outputs.new-version # skip anything build-related on unnecessary commits
44
- run : mvnw org.codehaus.mojo:versions-maven-plugin:2.7:set-property -Dproperty=revision -DnewVersion='${{ steps.increment-version.outputs.new-version }}'
44
+ run : ./ mvnw org.codehaus.mojo:versions-maven-plugin:2.7:set-property -Dproperty=revision -DnewVersion='${{ steps.increment-version.outputs.new-version }}'
45
45
- name : push
46
46
if : steps.increment-version.outputs.previous-version != steps.increment-version.outputs.new-version # skip anything build-related on unnecessary commits
47
47
uses : github-actions-x/commit@v2.9
Original file line number Diff line number Diff line change 8
8
steps :
9
9
- uses : actions/checkout@v3
10
10
- uses : webiny/action-conventional-commits@v1.2.0
11
+ - name : Increment version
12
+ id : increment-version
13
+ uses : RichardInnocent/semantic-versioning-maven@v0.1.0
11
14
- name : Set up JDK 21
12
15
uses : actions/setup-java@v3
13
16
with :
19
22
# with:
20
23
# cache: npm
21
24
- name : Build with Maven
22
- run : mvnw -B package -Drevision='${{ steps.increment-version.outputs.new-version }}' --file pom.xml
25
+ run : ./ mvnw -B package -Drevision='${{ steps.increment-version.outputs.new-version }}' --file pom.xml
You can’t perform that action at this time.
0 commit comments