Update build.yml
This commit is contained in:
parent
e9e9b6827c
commit
5cdf7a7120
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue