Update maven.yml

This commit is contained in:
James Peters 2022-01-12 23:26:57 +00:00 committed by GitHub
parent a55393d628
commit c1a1e48f22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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