Skip to content

Commit d87bb91

Browse files
authored
Update main.yml
1 parent 38e4312 commit d87bb91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ jobs:
4646
get-pytorch-versions:
4747
runs-on: ubuntu-latest
4848
outputs:
49-
pytorch-versions: ${{ steps.get-pytorch-versions.outputs.versions }}
49+
versions: ${{ steps.get-pytorch-versions.outputs.versions }}
5050
steps:
5151
- name: Get PyTorch versions
5252
id: get-pytorch-versions
5353
run: |
5454
VERSIONS=$(
55-
curl -s https://pypi.org/pypi/torch/json | jq -r '.releases | keys[]' | # get PyTorch versions
55+
curl -s https://pypi.org/pypi/torch/json | jq -r '.releases | keys[]' | # get versions
5656
grep -v '^1\.' | grep -E '\.[0]+$' | sort -rV | sed 's/\.0$//' | # remove versions <2.0; strip "patch" from versions
5757
jq -R . | jq -sc . # to JSON array
5858
)

0 commit comments

Comments
 (0)