mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2025-03-13 07:09:51 +01:00
Make Github Actions faster (#268)
Co-authored-by: budgidiere <sgidiere@gmail.com>
This commit is contained in:
parent
ab975588e5
commit
0dd46b620b
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [15, 11, 8]
|
java: [15, 11, 8]
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Cancel Previous Runs
|
- name: Cancel Previous Runs
|
||||||
@ -54,6 +55,15 @@ jobs:
|
|||||||
git config --global user.name "Github CI"
|
git config --global user.name "Github CI"
|
||||||
sudo chmod -R -f 777 scripts
|
sudo chmod -R -f 777 scripts
|
||||||
./yatopia init
|
./yatopia init
|
||||||
|
- name: Get MC Version
|
||||||
|
run: echo "::set-output name=mcver::$(cat "Tuinity/Paper/work/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)"
|
||||||
|
id: mcver
|
||||||
|
- name: Pull Minecraft Decompile Cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
id: decompile-cache
|
||||||
|
with:
|
||||||
|
path: Tuinity/Paper/work/Minecraft/${{ steps.mcver.outputs.mcver }}
|
||||||
|
key: ${{ steps.mcver.outputs.mcver }}-${{ runner.os }}-minecraft-decomp
|
||||||
- name: Build Yatopia
|
- name: Build Yatopia
|
||||||
run: |
|
run: |
|
||||||
./yatopia full
|
./yatopia full
|
||||||
|
Loading…
Reference in New Issue
Block a user