Update maven.yml

This commit is contained in:
James Peters 2022-01-17 20:02:52 +00:00 committed by GitHub
parent f0f7a1966b
commit fcb97de913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,37 +33,37 @@ jobs:
ls ~/BuildTools ls ~/BuildTools
shell: bash shell: bash
- name: Set up JDK 8 # - name: Set up JDK 8
uses: actions/setup-java@v2 # uses: actions/setup-java@v2
with: # with:
java-version: '8' # java-version: '8'
distribution: 'adopt' # distribution: 'adopt'
- name: Run BuildTools Pre 1.17 # - name: Run BuildTools Pre 1.17
working-directory: BuildTools # working-directory: BuildTools
run: | # run: |
cd ~/BuildTools # cd ~/BuildTools
# make file runnable, might not be necessary # # make file runnable, might not be necessary
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh" # chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh"
# run script # # run script
bash ${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh # bash ${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh
shell: bash # shell: bash
- name: Set up JDK 16 # - name: Set up JDK 16
uses: actions/setup-java@v2 # uses: actions/setup-java@v2
with: # with:
java-version: '16' # java-version: '16'
distribution: 'adopt' # distribution: 'adopt'
- name: Run BuildTools 1.17 # - name: Run BuildTools 1.17
working-directory: BuildTools # working-directory: BuildTools
run: | # run: |
cd ~/BuildTools # cd ~/BuildTools
# make file runnable, might not be necessary # # make file runnable, might not be necessary
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh" # chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
# run script # # run script
bash ${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh # bash ${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh
shell: bash # shell: bash
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v2 uses: actions/setup-java@v2