why not try this

This commit is contained in:
jobobby04 2020-06-14 17:01:25 -04:00 committed by GitHub
parent a88149b01f
commit f6050d0847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ jobs:
with: with:
fetch-depth: '0' fetch-depth: '0'
- name: Set SHOULD_RUN flag - name: Set SHOULD_RUN flag
run: echo ::set-env name=SHOULD_RUN::!contains(toJSON(github.event.commits.*.message), 'skip-ci') && !contains(toJSON(github.event.commits.*.message), 'skip ci') && !contains(toJSON(github.event.commits.*.message), 'ci skip') && !contains(toJSON(github.event.commits.*.message), 'ci-skip') run: echo ::set-env name=SHOULD_RUN::"!contains(toJSON(github.event.commits.*.message), 'skip-ci')" && "!contains(toJSON(github.event.commits.*.message), 'skip ci')" && "!contains(toJSON(github.event.commits.*.message), 'ci skip')" && "!contains(toJSON(github.event.commits.*.message), 'ci-skip')"
- name: TAG - Bump version and push tag - name: TAG - Bump version and push tag
uses: anothrNick/github-tag-action@1.17.2 uses: anothrNick/github-tag-action@1.17.2
if: github.event.action != 'pong' && env.SHOULD_RUN == 'true' if: github.event.action != 'pong' && env.SHOULD_RUN == 'true'