Skip to content

Commit 3a170bd

Browse files
committed
JDK 11+ - fix push Action attempt 3
1 parent cf9b3ca commit 3a170bd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/maven-master.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR build - master
1+
name: Build - master
22

33
on:
44
push:
@@ -38,12 +38,6 @@ jobs:
3838
"username": "${{ secrets.OSSRH_USERNAME }}",
3939
"password": "${{ secrets.OSSRH_TOKEN }}"
4040
}]
41-
- name: Build with Maven
42-
run: |
43-
export MY_POM_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
44-
echo "POM VERSION" ${MY_POM_VERSION}
45-
if [[ ! $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
46-
then
4741
- name: Build with Maven
4842
run: mvn -B -U verify --file pom.xml
4943
- name: Deploy Maven Snapshot

0 commit comments

Comments
 (0)