Fix maven build
This commit is contained in:
parent
17e1efb575
commit
fc66b267e4
5
.github/workflows/maven-publish.yml
vendored
5
.github/workflows/maven-publish.yml
vendored
@ -8,7 +8,6 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@ -36,7 +35,7 @@ jobs:
|
|||||||
echo "REVISION=$REVISION" >> $GITHUB_ENV
|
echo "REVISION=$REVISION" >> $GITHUB_ENV
|
||||||
echo "IMPLEMENTATION_NAME=$IMPLEMENTATION_NAME" >> $GITHUB_ENV
|
echo "IMPLEMENTATION_NAME=$IMPLEMENTATION_NAME" >> $GITHUB_ENV
|
||||||
- name: Set up JDK 15
|
- name: Set up JDK 15
|
||||||
if: github.ref == 'refs/heads/master'
|
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 15
|
java-version: 15
|
||||||
@ -44,7 +43,7 @@ jobs:
|
|||||||
server-username: MAVEN_USERNAME
|
server-username: MAVEN_USERNAME
|
||||||
server-password: MAVEN_PASSWORD
|
server-password: MAVEN_PASSWORD
|
||||||
- name: Deploy to Maven (Release)
|
- name: Deploy to Maven (Release)
|
||||||
if: github.ref == 'refs/heads/master'
|
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "REVISION: $REVISION"
|
echo "REVISION: $REVISION"
|
||||||
|
Loading…
Reference in New Issue
Block a user