Update maven.yml

This commit is contained in:
James Peters 2022-01-12 21:38:17 +00:00 committed by GitHub
parent 1a9e59006b
commit 665c6b3d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -30,6 +30,7 @@ jobs:
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh"
# run script
bash build-pre1.17.sh
ls ~/.m2/repository/org/spigotmc/ -R
shell: bash
- name: Set up JDK 16
@ -44,7 +45,8 @@ jobs:
# make file runnable, might not be necessary
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
# run script
"${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
bash build-1.17.sh
ls ~/.m2/repository/org/spigotmc/ -R
shell: sh
- name: Set up JDK 17
@ -56,10 +58,11 @@ jobs:
- name: Run BuildTools 1.18+
working-directory: ./BuildTools
run: |
# make file runnable, might not be necessary
# make file runnable, might not be necessary
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh"
# run script
"${GITHUB_WORKSPACE}/BuildTools/build-pre1.18+.sh"
bash build-1.18+.sh
ls ~/.m2/repository/org/spigotmc/ -R
shell: sh
- name: Build with Maven