Update maven.yml

This commit is contained in:
James Peters 2022-01-12 20:45:13 +00:00 committed by GitHub
parent 3b61eb8e94
commit 7434df6168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ jobs:
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh" chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh"
# run script # run script
"${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh" "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh"
shell: bash shell: sh
- name: Set up JDK 16 - name: Set up JDK 16
uses: actions/setup-java@v2 uses: actions/setup-java@v2
@ -45,7 +45,7 @@ jobs:
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh" chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
# run script # run script
"${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh" "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
shell: bash shell: sh
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v2 uses: actions/setup-java@v2
@ -60,7 +60,7 @@ jobs:
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh" chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh"
# run script # run script
"${GITHUB_WORKSPACE}/BuildTools/build-pre1.18+.sh" "${GITHUB_WORKSPACE}/BuildTools/build-pre1.18+.sh"
shell: bash shell: sh
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml