From d25ccc3f27e463cd6319cc10180c841018ca55fe Mon Sep 17 00:00:00 2001 From: budgidiere Date: Sun, 20 Sep 2020 00:42:29 -0500 Subject: [PATCH] Upload artifact for PRs also readd building tuinity if maven cache gets yeeted --- .github/workflows/build.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35e243f4..bcd4e591 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: - java: [14, 11, 8] + java: [15, 11, 8] steps: - name: Cancel Previous Runs @@ -52,12 +52,19 @@ jobs: git config --global user.name "Github CI" sudo chmod -R -f 777 scripts ./yatopia init -# - name: Build Maven Depends -# if: steps.maven-cache.outputs.cache-hit != 'true' -# run: | -# cd Tuinity -# ./tuinity jar -# cd ..// + - name: Build Maven Depends + if: steps.maven-cache.outputs.cache-hit != 'true' + run: | + cd Tuinity + ./tuinity jar + cd ..// - name: Build Yatopia run: | ./yatopia full + - name: Upload Artifact + if: github.ref != 'refs/heads/ver/1.16.3' + uses: actions/upload-artifact@v2 + with: + name: Yatopia-${{ matrix.java }} + path: yatopia-1.16.3-paperclip.jar +