File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 11name : Build and Deploy Snapshot
22on :
33 push :
4- branches :
5- - master
6- - " 3.0"
7- - " 2.18"
4+ branches : [2.*]
85 paths-ignore :
96 - " README.md"
107 - " release-notes/*"
118 pull_request :
12- branches :
13- - master
14- - " 3.0"
15- - " 2.18"
9+ branches : [2.*]
1610 paths-ignore :
1711 - " README.md"
1812 - " release-notes/*"
@@ -22,7 +16,7 @@ permissions:
2216
2317jobs :
2418 build :
25- runs-on : ' ubuntu-22.04 '
19+ runs-on : ' ubuntu-latest '
2620 strategy :
2721 fail-fast : false
2822 max-parallel : 5
6054 run : ./mvnw -B -q -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} surefire:test
6155 - name : Extract project Maven version
6256 id : projectVersion
63- run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
57+ run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
6458 - name : Deploy snapshot
6559 if : ${{ github.event_name != 'pull_request' && matrix.release_build && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
6660 env :
You can’t perform that action at this time.
0 commit comments