File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build and Deploy Snapshot
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - 2.x
6
6
- " 2.18"
7
7
pull_request :
8
8
19
19
env :
20
20
JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
21
21
steps :
22
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4.2.2
23
23
- name : Set up JDK
24
- uses : actions/setup-java@v3
24
+ uses : actions/setup-java@v4.7.0
25
25
with :
26
26
distribution : ' temurin'
27
27
java-version : ${{ matrix.java_version }}
36
36
run : ./mvnw -B -q -ff -ntp verify
37
37
- name : Extract project Maven version
38
38
id : projectVersion
39
- run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.3.0 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
39
+ run : echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1 :evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
40
40
- name : Deploy snapshot
41
- if : github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT')
41
+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' && endsWith(steps.projectVersion.outputs.version, '-SNAPSHOT') }}
42
42
env :
43
43
CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
44
44
CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments