From fce7ad19c6117d78036d6495074e45266b8db7fd Mon Sep 17 00:00:00 2001 From: rtm516 Date: Fri, 16 Feb 2024 15:49:15 +0000 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ceccfa3..622797a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,8 +20,14 @@ jobs: run: bash prepare_pack.sh - name: Zip pack - run: zip GeyserOptionalPack.mcpack -r . -x ".*" Jenkinsfile required_files.txt prepare_pack.sh + run: zip GeyserOptionalPack.mcpack -r . -x ".*" required_files.txt prepare_pack.sh + - name: Archive artifacts + uses: actions/upload-artifact@v3 + if: success() + with: + name: GeyserOptionalPack + path: GeyserOptionalPack.mcpack - name: Publish to Downloads API if: ${{ success() && github.repository == 'GeyserMC/GeyserOptionalPack' && github.ref_name == 'master' }}