Skip to content

Commit 6b69a9c

Browse files
authored
Minor changes to Update requirements GitHub Action (#3448)
1 parent 358e3b4 commit 6b69a9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/update-requirements.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ on:
1414
workflow_dispatch:
1515

1616
jobs:
17-
upgrade-requirements:
18-
name: Upgrade requirements.txt
17+
update-requirements:
18+
name: Update requirements.txt
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
@@ -46,7 +46,7 @@ jobs:
4646
# and dependencies installed from outside PyPI.
4747
# sed is used to loosen the version matches for PyTorch
4848
# so that any CUDA version matches.
49-
run: uv pip freeze | grep -v -E "( @ |^-e)" | sed -E 's/==([A-Za-z0-9.]+)\+[A-Za-z0-9.]+/~=\1/' >> requirements.txt
49+
run: pip freeze | grep -v -E "( @ |^-e)" | sed -E 's/==([A-Za-z0-9.]+)\+[A-Za-z0-9.]+/~=\1/' >> requirements.txt
5050
# Need to manually run tests here because the pull request opened later will not
5151
# run the test workflow.
5252
#

0 commit comments

Comments
 (0)