|
60 | 60 | default: false |
61 | 61 | required: false |
62 | 62 | type: boolean |
| 63 | + version: |
| 64 | + description: 'Version to validate' |
| 65 | + default: "" |
| 66 | + required: false |
| 67 | + type: string |
| 68 | + |
63 | 69 |
|
64 | 70 | jobs: |
| 71 | + generate-release-matrix: |
| 72 | + uses: pytorch/test-infra/.github/workflows/generate_release_matrix.yml@main |
| 73 | + with: |
| 74 | + version: ${{ inputs.version }} |
| 75 | + |
65 | 76 | win: |
66 | 77 | if: inputs.os == 'windows' || inputs.os == 'all' |
| 78 | + needs: generate-release-matrix |
67 | 79 | uses: ./.github/workflows/validate-windows-binaries.yml |
68 | 80 | with: |
69 | 81 | channel: ${{ inputs.channel }} |
70 | 82 | ref: ${{ inputs.ref || github.ref }} |
71 | 83 | torchonly: ${{ inputs.torchonly }} |
| 84 | + version: ${{ inputs.version }} |
| 85 | + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} |
72 | 86 |
|
73 | 87 | linux: |
74 | 88 | if: inputs.os == 'linux' || inputs.os == 'all' |
| 89 | + needs: generate-release-matrix |
75 | 90 | uses: ./.github/workflows/validate-linux-binaries.yml |
76 | 91 | with: |
77 | 92 | channel: ${{ inputs.channel }} |
78 | 93 | ref: ${{ inputs.ref || github.ref }} |
79 | 94 | torchonly: ${{ inputs.torchonly }} |
| 95 | + version: ${{ inputs.version }} |
| 96 | + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} |
80 | 97 |
|
81 | 98 | linux-aarch64: |
82 | 99 | if: inputs.os == 'linux-aarch64' |
| 100 | + needs: generate-release-matrix |
83 | 101 | uses: ./.github/workflows/validate-aarch64-linux-binaries.yml |
84 | 102 | with: |
85 | 103 | channel: ${{ inputs.channel }} |
86 | 104 | ref: ${{ inputs.ref || github.ref }} |
87 | 105 | torchonly: ${{ inputs.torchonly }} |
88 | | - |
| 106 | + version: ${{ inputs.version }} |
| 107 | + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} |
89 | 108 | mac: |
90 | 109 | if: inputs.os == 'macos' || inputs.os == 'all' |
| 110 | + needs: generate-release-matrix |
91 | 111 | uses: ./.github/workflows/validate-macos-binaries.yml |
92 | 112 | with: |
93 | 113 | channel: ${{ inputs.channel }} |
94 | 114 | ref: ${{ inputs.ref || github.ref }} |
95 | 115 | torchonly: ${{ inputs.torchonly }} |
| 116 | + version: ${{ inputs.version }} |
| 117 | + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} |
96 | 118 |
|
97 | 119 | mac-arm64: |
98 | 120 | if: inputs.os == 'macos' || inputs.os == 'all' |
| 121 | + needs: generate-release-matrix |
99 | 122 | uses: ./.github/workflows/validate-macos-arm64-binaries.yml |
100 | 123 | with: |
101 | 124 | channel: ${{ inputs.channel }} |
102 | 125 | ref: ${{ inputs.ref || github.ref }} |
103 | 126 | torchonly: ${{ inputs.torchonly }} |
| 127 | + version: ${{ inputs.version }} |
| 128 | + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} |
0 commit comments