This commit is contained in:
Xikaro 2025-04-18 23:43:50 +05:00
parent db084cca8e
commit b3dd4caeee

View file

@ -350,6 +350,20 @@ jobs:
path: .pakku/multimc-overrides/${{ needs.info.outputs.project_full_name }}-multimc.zip
if-no-files-found: error
prepare-release:
name: 📦 Prepare release
needs: [info, build-modpack, build-server, build-multimc]
runs-on: ubuntu-latest
steps:
- name: Debug if conditions
run: |
echo "github.env.DEV_ENVIRONMENT: ${{ github.env.DEV_ENVIRONMENT }}"
echo "github.env.RELEASE_ON_GITHUB: ${{ github.env.RELEASE_ON_GITHUB }}"
echo "needs.info.outputs.exists: ${{ needs.info.outputs.exists }}"
echo "${{ github.env.RELEASE_ON_GITHUB == 'true' && github.env.DEV_ENVIRONMENT == 'false' }}"
echo "${{ github.env.RELEASE_ON_GITHUB == 'true' && github.env.DEV_ENVIRONMENT == 'false' && needs.info.outputs.exists == 'false' }}"
release-github:
name: 🚀 Release to GitHub
needs: [info, build-modpack, build-server, build-multimc]