Update build.yml
This commit is contained in:
parent
b1e30f90b1
commit
0f89253e8d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
project_full_name: ${{ steps.pakku_info.outputs.name }}-${{ steps.check.outputs.version }}
|
project_full_name: ${{ steps.pakku_info.outputs.name }}-${{ steps.check.outputs.version }}
|
||||||
changelog: ${{ steps.changelog.outputs.description }}
|
changelog: ${{ steps.changelog.outputs.description }}
|
||||||
diff: ${{ steps.read_diff.outputs.diff }}
|
diff: ${{ steps.read_diff.outputs.diff }}
|
||||||
exists: ${{ steps.check_tag.outputs.exists && env.DEV_ENVIRONMENT }}
|
release_exists: ${{ steps.check_tag.outputs.exists == 'true' && env.DEV_ENVIRONMENT == 'false' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
@ -348,7 +348,7 @@ jobs:
|
||||||
name: 🚀 Release to GitHub
|
name: 🚀 Release to GitHub
|
||||||
needs: [info, build-modpack, build-server, build-multimc]
|
needs: [info, build-modpack, build-server, build-multimc]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: needs.info.outputs.exists == 'false'
|
if: needs.info.outputs.release_exists == 'false'
|
||||||
outputs:
|
outputs:
|
||||||
url: ${{ steps.release.outputs.url }}
|
url: ${{ steps.release.outputs.url }}
|
||||||
|
|
||||||
|
|
@ -417,7 +417,7 @@ jobs:
|
||||||
name: 🚀 Release to CurseForge
|
name: 🚀 Release to CurseForge
|
||||||
needs: [info, build-modpack, build-server, release-github]
|
needs: [info, build-modpack, build-server, release-github]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: needs.info.outputs.exists == 'false'
|
if: needs.info.outputs.release_exists == 'false'
|
||||||
outputs:
|
outputs:
|
||||||
id: ${{ steps.release.outputs.id }}
|
id: ${{ steps.release.outputs.id }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue