Update maven.yml
This commit is contained in:
parent
c576d03721
commit
1798ca2731
|
@ -32,37 +32,37 @@ jobs:
|
|||
ls ~/BuildTools
|
||||
shell: bash
|
||||
|
||||
# - name: Set up JDK 8
|
||||
# uses: actions/setup-java@v2
|
||||
# with:
|
||||
# java-version: '8'
|
||||
# distribution: 'adopt'
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'adopt'
|
||||
|
||||
# - name: Run BuildTools Pre 1.17
|
||||
# working-directory: BuildTools
|
||||
# run: |
|
||||
# cd ~/BuildTools
|
||||
# # make file runnable, might not be necessary
|
||||
# chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh"
|
||||
# # run script
|
||||
# bash ${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh
|
||||
# shell: bash
|
||||
- name: Run BuildTools Pre 1.17
|
||||
working-directory: BuildTools
|
||||
run: |
|
||||
cd ~/BuildTools
|
||||
# make file runnable, might not be necessary
|
||||
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh"
|
||||
# run script
|
||||
bash ${GITHUB_WORKSPACE}/BuildTools/build-pre1.17.sh
|
||||
shell: bash
|
||||
|
||||
# - name: Set up JDK 16
|
||||
# uses: actions/setup-java@v2
|
||||
# with:
|
||||
# java-version: '16'
|
||||
# distribution: 'adopt'
|
||||
- name: Set up JDK 16
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '16'
|
||||
distribution: 'adopt'
|
||||
|
||||
# - name: Run BuildTools 1.17
|
||||
# working-directory: BuildTools
|
||||
# run: |
|
||||
# cd ~/BuildTools
|
||||
# # make file runnable, might not be necessary
|
||||
# chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
|
||||
# # run script
|
||||
# bash ${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh
|
||||
# shell: bash
|
||||
- name: Run BuildTools 1.17
|
||||
working-directory: BuildTools
|
||||
run: |
|
||||
cd ~/BuildTools
|
||||
# make file runnable, might not be necessary
|
||||
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh"
|
||||
# run script
|
||||
bash ${GITHUB_WORKSPACE}/BuildTools/build-1.17.sh
|
||||
shell: bash
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
|
@ -86,8 +86,8 @@ jobs:
|
|||
ls ~/BuildTools
|
||||
shell: bash
|
||||
|
||||
# - name: Build with Maven
|
||||
# run: mvn -B package --file pom.xml
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
|
||||
- name: Upload Release Asset
|
||||
id: upload-release-asset
|
||||
|
|
Loading…
Reference in New Issue