Commit df6798d
authored
This PR fixes the error found in [this `push-docs` CI run][1] for a
`push` event on `master` branch.
**What happened:**
- `push-docs` failed because it couldn't find the `torch-xla-wheels`
artifact
- The `torch-xla-wheels` artifact wasn't uploaded because its upload and
the dependent build step are coditioned by `inputs.has_code_changes ==
'true'`
**Solution:**
- Build PyTorch and PyTorch/XLA on every `push` event, since that's also
when `push-docs` runs
_Note: `push-docs` job actually needs to install both PyTorch and
PyTorch/XLA, otherwise it can't retrieve the docstrings that we rely on
to build the documentation._
[1]:
https://github.com/pytorch/xla/actions/runs/18698514731/job/53322086395
1 parent 8ca9770 commit df6798d
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
| |||
0 commit comments