This commit is contained in:
parent
837e4a14da
commit
05535fc87e
@ -7,12 +7,19 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
# Checkout the repo
|
||||||
- name: Set up Maven Central Repository
|
- name: Checkout
|
||||||
uses: actions/setup-java@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Setup Java and Maven
|
||||||
|
- name: Set up JDK and Maven
|
||||||
|
uses: s4u/setup-maven-action@v1.12.0
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: ${{ matrix.java-version }}
|
||||||
distribution: 'adopt'
|
distribution: "zulu"
|
||||||
|
maven-version: ${{ matrix.maven-version }}
|
||||||
|
|
||||||
|
# Publish the package
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
run: mvn --batch-mode deploy
|
run: mvn --batch-mode deploy
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user