From 8181680c0765ad6073e5b771abb403600525fa51 Mon Sep 17 00:00:00 2001 From: Xikaro Date: Sun, 20 Jul 2025 03:37:00 +0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8120749a5..af6fb0cc5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -258,37 +258,6 @@ jobs: path: ./build/modrinth/${{ needs.info.outputs.project_full_name }}-modrinth.mrpack if-no-files-found: warn - build-server: - name: 📦 Build Server - needs: [info] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4.2.2 - - - name: 🔄 Replace strings - shell: bash - run: | - set +e - - VERSION=${{ needs.info.outputs.project_version }} - sed -i -e "s/DEV/${VERSION}/g" pakku.json - sed -i -e "s/DEV/${VERSION}/g" config/fancymenu/customization/gui_main_menu.txt - - - name: 📝 Cache pakku - uses: actions/cache@v4.2.3 - id: cache - with: - path: build/.cache - key: pakku-cache-${{ hashFiles('pakku-lock.json') }} - restore-keys: pakku-cache- - - - name: 📦 Export modpack - run: | - mv -vf ./.pakku/server-overrides/* ./ - curl https://github.com/juraj-hrivnak/pakku/releases/latest/download/pakku.jar -o pakku.jar -L -J - java -jar pakku.jar export - - name: 📁 Rename artifact server run: | cd ./build/serverpack/ @@ -354,7 +323,7 @@ jobs: release-github: name: 🚀 Release to GitHub - needs: [info, build-modpack, build-server, build-multimc] + needs: [info, build-modpack, build-multimc] runs-on: ubuntu-latest if: ${{ needs.info.outputs.make_release == 'true' }} outputs: @@ -424,7 +393,7 @@ jobs: release-curseforge: name: 🚀 Release to CurseForge - needs: [info, build-modpack, build-server, release-github] + needs: [info, build-modpack, release-github] runs-on: ubuntu-latest if: ${{ needs.info.outputs.make_release == 'true' }} outputs: @@ -474,7 +443,7 @@ jobs: release-modrinth: name: 🚀 Release to Modrinth - needs: [info, build-modpack, build-server, release-github] + needs: [info, build-modpack, release-github] runs-on: ubuntu-latest if: false outputs: