From 5b9ee0ce34134c5fa4ebd0ae56683ace03cac9b0 Mon Sep 17 00:00:00 2001 From: Xikaro Date: Fri, 18 Apr 2025 23:10:54 +0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 766f8da71..b9f7e1fbb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -194,9 +194,6 @@ jobs: 📃 **Dev Environment**: `${{ env.DEV_ENVIRONMENT }}` 📃 **Tag Exists**: `${{ steps.check_tag.outputs.exists }}` - 📃 **Release on GitHub**: `${{ env.RELEASE_ON_GITHUB }}` - 📃 **Release on CurseForge**: `${{ env.RELEASE_ON_CURSEFORGE }}` - 📃 **Release on Modrinth**: `${{ env.RELEASE_ON_MODRINTH }}` ${{ steps.changelog.outputs.description }} @@ -357,7 +354,7 @@ jobs: name: 🚀 Release to GitHub needs: [info, build-modpack, build-server, build-multimc] runs-on: ubuntu-latest - if: github.env.RELEASE_ON_GITHUB && !github.env.DEV_ENVIRONMENT && needs.info.outputs.exists != 'true' + if: ${{ github.env.RELEASE_ON_GITHUB && !github.env.DEV_ENVIRONMENT && !needs.info.outputs.exists }} outputs: url: ${{ steps.release.outputs.url }} @@ -426,7 +423,7 @@ jobs: name: 🚀 Release to CurseForge needs: [info, build-modpack, build-server, release-github] runs-on: ubuntu-latest - if: github.env.RELEASE_ON_CURSEFORGE && !github.env.DEV_ENVIRONMENT && needs.info.outputs.exists != 'true' + if: ${{ github.env.RELEASE_ON_CURSEFORGE && !github.env.DEV_ENVIRONMENT && !needs.info.outputs.exists }} outputs: id: ${{ steps.release.outputs.id }} @@ -476,7 +473,7 @@ jobs: name: 🚀 Release to Modrinth needs: [info, build-modpack, build-server, release-github] runs-on: ubuntu-latest - if: github.env.RELEASE_ON_MODRINTH && !github.env.DEV_ENVIRONMENT && needs.info.outputs.exists != 'true' + if: ${{ github.env.RELEASE_ON_MODRINTH && !github.env.DEV_ENVIRONMENT && !needs.info.outputs.exists }} outputs: id: ${{ steps.release.outputs.id }}