mirror of https://github.com/aminya/setup-cpp
ci: run the release when the test is skipped [skip test]
This commit is contained in:
parent
5e87b7794a
commit
ebe8a86b02
|
@ -135,7 +135,7 @@ jobs:
|
||||||
|
|
||||||
Test:
|
Test:
|
||||||
name: Test-${{ matrix.os }}
|
name: Test-${{ matrix.os }}
|
||||||
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
|
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
|
||||||
needs: [Build]
|
needs: [Build]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -191,6 +191,7 @@ jobs:
|
||||||
# uses: mxschmitt/action-tmate@v3
|
# uses: mxschmitt/action-tmate@v3
|
||||||
|
|
||||||
- name: Tests
|
- name: Tests
|
||||||
|
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }}
|
||||||
run: |
|
run: |
|
||||||
pnpm run test
|
pnpm run test
|
||||||
env:
|
env:
|
||||||
|
@ -214,7 +215,7 @@ jobs:
|
||||||
|
|
||||||
Docker:
|
Docker:
|
||||||
name: Test-${{ matrix.container }}
|
name: Test-${{ matrix.container }}
|
||||||
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
|
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
|
||||||
needs: [Build]
|
needs: [Build]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in New Issue