Try skip CI job issues
This commit is contained in:
parent
e911d2f5f4
commit
d10a52cc58
14
.github/workflows/rust.yml
vendored
14
.github/workflows/rust.yml
vendored
@ -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: >
|
||||||
|
Loading…
x
Reference in New Issue
Block a user