mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Update Github Actions to actually skip builds
We used to only check for "skip ci" specifically, so all other amalgamations of skip-ci, skip-build, etc still create a new build. this changes the build check to check for skip, SKIP or Skip instead to catch all of them.
This commit is contained in:
parent
d6d0800215
commit
4146897e3c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-and-release.yml
vendored
4
.github/workflows/build-and-release.yml
vendored
|
|
@ -200,7 +200,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
|
if: ${{ !contains(github.event.head_commit.message, 'skip') || !contains(github.event.head_commit.message, 'SKIP') !contains(github.event.head_commit.message, 'Skip')}}
|
||||||
steps:
|
steps:
|
||||||
- name: dummy action
|
- name: dummy action
|
||||||
run: "echo 'dummy action'"
|
run: "echo 'dummy action that checks if the build is to be skipped, if it is, this action does not run to break the entire build action'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue