Skip to content

Commit aa99f26

Browse files
committed
add workflow run trigger.
1 parent 22cfa2b commit aa99f26

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/build-test-linux-aarch64-jetpack.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: Build and test Linux aarch64 wheels for Jetpack
22

33
on:
4-
pull_request:
4+
#pull_request:
5+
workflow_run:
6+
workflows: ["Build and test Linux x86_64 wheels"]
7+
types:
8+
- completed
59
push:
610
branches:
711
- main
@@ -15,6 +19,7 @@ on:
1519

1620
jobs:
1721
generate-matrix:
22+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1823
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
1924
with:
2025
package-type: wheel

.github/workflows/build-test-linux-aarch64.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: Build and test Linux aarch64 wheels
22

33
on:
4-
pull_request:
4+
#pull_request:
5+
workflow_run:
6+
workflows: ["Build and test Linux x86_64 wheels"]
7+
types:
8+
- completed
59
push:
610
branches:
711
- main
@@ -15,6 +19,7 @@ on:
1519

1620
jobs:
1721
generate-matrix:
22+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1823
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
1924
with:
2025
package-type: wheel

.github/workflows/build-test-windows.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: Build and test Windows wheels
22

33
on:
4-
pull_request:
4+
#pull_request:
5+
workflow_run:
6+
workflows: ["Build and test Linux x86_64 wheels"]
7+
types:
8+
- completed
59
push:
610
branches:
711
- main
@@ -15,6 +19,7 @@ on:
1519

1620
jobs:
1721
generate-matrix:
22+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1823
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
1924
with:
2025
package-type: wheel

0 commit comments

Comments
 (0)