mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update release_build.yml
This commit is contained in:
parent
b46906aab8
commit
2c9d237f81
13
.github/workflows/release_build.yml
vendored
13
.github/workflows/release_build.yml
vendored
@ -22,7 +22,20 @@ on:
|
|||||||
- ".gitignore"
|
- ".gitignore"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
CheckVersion:
|
||||||
|
if: ${{ contains(github.event.pull_request.labels.*.name, 'update-pr') }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: "actions/checkout@v3"
|
||||||
|
- name: Read Manifest
|
||||||
|
id: read-manifest
|
||||||
|
run: echo "manifest=$(< ./NewHorizons/manifest.json sed ':a;N;$!ba;s/\n/ /g')" >> $GITHUB_OUTPUT
|
||||||
|
- name: Error
|
||||||
|
if: ${{ steps.read-manifest.outputs.version != github.event.pull_request.title }}
|
||||||
|
run: echo "::error file=manifest.json,title=Version Error::Hey DUMB-DUMB UPDATE THE MANIFEST VERSION"
|
||||||
Build:
|
Build:
|
||||||
|
needs: CheckVersion
|
||||||
if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'update-pr') }}
|
if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'update-pr') }}
|
||||||
uses: ./.github/workflows/build.yaml
|
uses: ./.github/workflows/build.yaml
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user