From 5cdf7a712010e8910b4eeabb8a5e45c045efba10 Mon Sep 17 00:00:00 2001 From: Xikaro Date: Fri, 18 Apr 2025 23:52:52 +0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4211e245c..341d149e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -354,7 +354,7 @@ jobs: name: 📦 Prepare release needs: [info] runs-on: ubuntu-latest - if: ${{ env.RELEASE_ON_GITHUB }} + if: ${{ !github.env.DEV_ENVIRONMENT }} steps: - name: Debug if conditions run: | @@ -369,7 +369,7 @@ jobs: name: 🚀 Release to GitHub needs: [info, build-modpack, build-server, build-multimc] runs-on: ubuntu-latest - if: ${{ env.RELEASE_ON_GITHUB == 'true' && env.DEV_ENVIRONMENT == 'false' && needs.info.outputs.exists == 'false' }} + if: ${{ github.env.RELEASE_ON_GITHUB == 'true' && github.env.DEV_ENVIRONMENT == 'false' && needs.info.outputs.exists == 'false' }} outputs: url: ${{ steps.release.outputs.url }}