Skip to content

Commit

Permalink
[CI] All rust related workflows should execute when a related PR is sent
Browse files Browse the repository at this point in the history
Signed-off-by: hydai <[email protected]>
  • Loading branch information
hydai authored and q82419 committed Aug 11, 2022
1 parent 0436034 commit 617ab06
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/rust-wasmedge-sdk-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ on:
- "bindings/rust/wasmedge-sdk/**"
tags:
- "rust-sdk/[0-9]+.[0-9]+.[0-9]+*"
pull_request:
branches:
- master
paths:
- ".github/workflows/rust-wasmedge-sdk-docs.yml"
- "bindings/rust/wasmedge-sdk/**"

jobs:
rustdoc:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/rust-wasmedge-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ on:
push:
branches:
- "master"
- "release/rust/*"
- "release/rust-sdk/*"
paths:
- "bindings/rust/**"
- "include/api/wasmedge/**"
- "lib/api/**"
tags:
- "rust-sdk/[0-9]+.[0-9]+.[0-9]+*"
pull_request:
branches:
- master
paths:
- "bindings/rust/**"
- "include/api/wasmedge/**"
- "lib/api/**"

jobs:
build-release-publish:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/rust-wasmedge-sys-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@ concurrency:
on:
push:
branches:
- master
- "release/rust/*"
paths:
- ".github/workflows/rust-wasmedge-sys-docs.yml"
- "bindings/rust/wasmedge-sys/**"
tags:
- "rust/[0-9]+.[0-9]+.[0-9]+*"
pull_request:
branches:
- master
paths:
- ".github/workflows/rust-wasmedge-sys-docs.yml"
- "bindings/rust/wasmedge-sys/**"

jobs:
rustdoc:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/rust-wasmedge-sys-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ on:
- "lib/api/**"
tags:
- "rust/[0-9]+.[0-9]+.[0-9]+*"
pull_request:
branches:
- master
paths:
- "bindings/rust/**"
- "include/api/wasmedge/**"
- "lib/api/**"

jobs:
build-release-publish:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rust-wasmedge-types-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ on:
- "bindings/rust/wasmedge-types/**"
tags:
- "rust-types/[0-9]+.[0-9]+.[0-9]+*"
pull_request:
branches:
- master
paths:
- ".github/workflows/rust-wasmedge-types-docs.yml"
- "bindings/rust/wasmedge-types/**"

jobs:
rustdoc:
Expand Down

0 comments on commit 617ab06

Please sign in to comment.