Try skip CI job issues

This commit is contained in:
Billy Chan 2021-10-21 18:25:35 +08:00
parent e911d2f5f4
commit d10a52cc58
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -211,20 +211,28 @@ jobs:
path: [86, 249, 262] path: [86, 249, 262]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1 - id: git-log
run: echo "::set-output name=message::$(git log --no-merges -1 --oneline)"
- if: "contains(steps.git-log.outputs.message, '[issues]')"
uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- uses: actions-rs/cargo@v1 - if: "contains(steps.git-log.outputs.message, '[issues]')"
uses: actions-rs/cargo@v1
with: with:
command: build command: build
args: > args: >
--manifest-path issues/${{ matrix.path }}/Cargo.toml --manifest-path issues/${{ matrix.path }}/Cargo.toml
- uses: actions-rs/cargo@v1 - if: "contains(steps.git-log.outputs.message, '[issues]')"
uses: actions-rs/cargo@v1
with: with:
command: test command: test
args: > args: >