[skip ci] Update build-and-release.yml

undo breaking the action and figure out that contains isn't case sensitive anyways
This commit is contained in:
breadbyte 2024-04-19 15:49:38 +08:00 committed by GitHub
parent 8037794601
commit fc2373b6d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,7 +200,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
fail-fast: true
if: ${{ !contains(github.event.head_commit.message, 'skip') || !contains(github.event.head_commit.message, 'SKIP') !contains(github.event.head_commit.message, 'Skip')}}
if: ${{ !contains(github.event.head_commit.message, 'skip')}}
steps:
- name: 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'"