Just some testing

This commit is contained in:
jobobby04 2020-06-14 17:05:41 -04:00 committed by GitHub
parent 6550cfd1f2
commit 7145303079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,16 +12,16 @@ 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=CISKIP::"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.CISKIP == 'false'
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true WITH_V: true
RELEASE_BRANCHES: master RELEASE_BRANCHES: master
- name: PING - Dispatch initiating repository event - name: PING - Dispatch initiating repository event
if: github.event.action != 'pong' && env.SHOULD_RUN == 'true' if: github.event.action != 'pong' && env.CISKIP == 'false'
run: | run: |
curl -X POST https://api.github.com/repos/jobobby04/TachiyomiSYPreview/dispatches \ curl -X POST https://api.github.com/repos/jobobby04/TachiyomiSYPreview/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \ -H 'Accept: application/vnd.github.everest-preview+json' \