Skip to content

Commit 33e86c5

Browse files
committed
[CI] Fix windows build legacy
ghstack-source-id: 5931159 Pull Request resolved: #2450
1 parent e294c68 commit 33e86c5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
post-script: "python packaging/wheel/relocate.py"
3838
smoke-test-script: test/smoke_test.py
3939
package-name: torchrl
40-
name: pytorch/rl
40+
name: ${{ matrix.repository }}
4141
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
4242
with:
4343
repository: ${{ matrix.repository }}

.github/workflows/wheels-legacy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: windows-latest
2020
strategy:
2121
matrix:
22-
python_version: [["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], ["3.12", "3.12"]]
22+
python_version: [["3.9", "3.9"], ["3.10", "3.10.3"], ["3.11", "3.11"], ["3.12", "3.12"]]
2323
steps:
2424
- name: Setup Python
2525
uses: actions/setup-python@v2
@@ -37,12 +37,12 @@ jobs:
3737
python3 -mpip install wheel
3838
TORCHRL_BUILD_VERSION=0.5.0 python3 setup.py bdist_wheel
3939
- name: Upload wheel for the test-wheel job
40-
uses: actions/upload-artifact@v2
40+
uses: actions/upload-artifact@v3
4141
with:
4242
name: torchrl-win-${{ matrix.python_version[0] }}.whl
4343
path: dist/torchrl-*.whl
4444
- name: Upload wheel for download
45-
uses: actions/upload-artifact@v2
45+
uses: actions/upload-artifact@v3
4646
with:
4747
name: torchrl-batch.whl
4848
path: dist/*.whl
@@ -77,7 +77,7 @@ jobs:
7777
run: |
7878
python3 -mpip install numpy pytest pytest-cov codecov unittest-xml-reporting pillow>=4.1.1 scipy av networkx expecttest pyyaml
7979
- name: Download built wheels
80-
uses: actions/download-artifact@v2
80+
uses: actions/download-artifact@v3
8181
with:
8282
name: torchrl-win-${{ matrix.python_version }}.whl
8383
path: wheels

0 commit comments

Comments
 (0)