Update maven.yml
This commit is contained in:
parent
a55393d628
commit
c1a1e48f22
|
@ -23,18 +23,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.m2
|
~/.m2
|
||||||
../BuildTools/Bukkit
|
~/BuildTools/Bukkit
|
||||||
../BuildTools/CraftBukkit
|
~/BuildTools/CraftBukkit
|
||||||
../BuildTools/Spigot
|
~/BuildTools/Spigot
|
||||||
../BuildTools/BuildData
|
~/BuildTools/BuildData
|
||||||
key: buildtools-cache
|
key: buildtools-cache
|
||||||
|
|
||||||
- name: Check BuildTools cached
|
- name: Check BuildTools cached
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ../BuildTools
|
mkdir -p ~/BuildTools
|
||||||
ls ../BuildTools
|
ls ~/BuildTools
|
||||||
echo "Separator"
|
|
||||||
ls ${GITHUB_WORKSPACE}/../BuildTools
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
# - name: Set up JDK 8
|
# - name: Set up JDK 8
|
||||||
|
@ -77,14 +75,15 @@ jobs:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
|
|
||||||
- name: Run BuildTools 1.18+
|
- name: Run BuildTools 1.18+
|
||||||
working-directory: ../BuildTools
|
working-directory: BuildTools
|
||||||
run: |
|
run: |
|
||||||
|
cd ~/BuildTools
|
||||||
ls -R
|
ls -R
|
||||||
# make file runnable, might not be necessary
|
# make file runnable, might not be necessary
|
||||||
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh"
|
chmod +x "${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh"
|
||||||
# run script
|
# run script
|
||||||
bash ${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh
|
bash ${GITHUB_WORKSPACE}/BuildTools/build-1.18+.sh
|
||||||
ls ~/.m2/repository/org/spigotmc/ -R
|
ls ~/BuildTools -R
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|
||||||
# - name: Build with Maven
|
# - name: Build with Maven
|
||||||
|
|
Loading…
Reference in New Issue