Update maven-publish.yml

This commit is contained in:
Anas Elgarhy 2022-03-25 20:50:16 +02:00 committed by GitHub
parent 81db7352c5
commit 51485fb895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,9 +4,6 @@
name: Maven Package
on:
push:
branches:
- master
release:
types: [created]
@ -20,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin' # See 'Supported distributions' for available options