ci
Some checks failed
Publish package to my Maven Repository / publish (push) Failing after 11s

This commit is contained in:
Lee 2024-04-17 21:08:28 +01:00
parent 837e4a14da
commit 05535fc87e

View File

@ -7,12 +7,19 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
# Checkout the repo
- name: Checkout
uses: actions/checkout@v4
# Setup Java and Maven
- name: Set up JDK and Maven
uses: s4u/setup-maven-action@v1.12.0
with:
java-version: '17'
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
distribution: "zulu"
maven-version: ${{ matrix.maven-version }}
# Publish the package
- name: Publish package
run: mvn --batch-mode deploy
env: