Commit aed7a8a 1 parent 5dec90d commit aed7a8a Copy full SHA for aed7a8a
File tree 4 files changed +19
-20
lines changed
4 files changed +19
-20
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
12
12
if : github.repository == 'pgjdbc/r2dbc-postgresql'
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v3
16
- - name : Set up JDK 1.8
17
- uses : actions/setup-java@v3
15
+ - uses : actions/checkout@v4
16
+ - name : Set up JDK 17
17
+ uses : actions/setup-java@v4
18
18
with :
19
- java-version : 8
20
- distribution : temurin
21
- cache : maven
19
+ java-version : ' 17 '
20
+ distribution : ' temurin'
21
+ cache : ' maven'
22
22
- name : Build with Maven
23
23
env :
24
24
SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
Original file line number Diff line number Diff line change 9
9
pr-build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
13
- - name : Set up JDK 1.8
14
- uses : actions/setup-java@v3
12
+ - uses : actions/checkout@v4
13
+ - name : Set up JDK 17
14
+ uses : actions/setup-java@v4
15
15
with :
16
- java-version : 8
17
- distribution : temurin
18
- cache : maven
16
+ java-version : ' 17 '
17
+ distribution : ' temurin'
18
+ cache : ' maven'
19
19
- name : Build with Maven
20
20
run : ./mvnw -B verify -D skipITs
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ jobs:
12
12
if : github.repository == 'pgjdbc/r2dbc-postgresql'
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v3
16
- - name : Set up JDK 1.8
17
- uses : actions/setup-java@v3
15
+ - uses : actions/checkout@v4
16
+ - name : Set up JDK 17
17
+ uses : actions/setup-java@v4
18
18
with :
19
- java-version : 8
20
- distribution : temurin
19
+ java-version : ' 17 '
20
+ distribution : ' temurin'
21
21
- name : Initialize Maven Version
22
- run : ./mvnw -q org.apache.maven.plugins:maven- help-plugin:2.1.1: evaluate -Dexpression=project.version
22
+ run : ./mvnw help: evaluate -Dexpression=project.version -q -DforceStdout
23
23
- name : GPG Check
24
24
run : gpg -k
25
25
- name : Release with Maven
Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
5
- VERSION=$( ./mvnw org.apache.maven.plugins:maven- help-plugin:2.1.1: evaluate -Dexpression=project.version -o | grep -v INFO )
5
+ VERSION=$( ./mvnw help: evaluate -Dexpression=project.version -q -DforceStdout )
6
6
7
7
if [[ $VERSION =~ [^.* -SNAPSHOT$] ]] ; then
8
8
36
36
echo " Not a release: $VERSION "
37
37
exit 1
38
38
fi
39
-
You can’t perform that action at this time.
0 commit comments