From cd4f359efc6c33fb43344770d7ee8cfae73986e9 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Mon, 3 Feb 2025 09:51:51 +0000 Subject: [PATCH] [CI] Upgrade GHA versions ghstack-source-id: 1876f1f0c18cb11c74edc9d96c17fdc985bc7b1a Pull Request resolved: https://github.com/pytorch/rl/pull/2740 --- .github/workflows/benchmarks.yml | 4 ++-- .github/workflows/benchmarks_pr.yml | 4 ++-- .github/workflows/wheels-legacy.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 85e38d08910..9ff622754f5 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -29,7 +29,7 @@ jobs: run: | echo "Action triggered by ${{ github.event.pull_request.html_url }}" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 # this is to make sure we obtain the target base commit - name: Python Setup @@ -84,7 +84,7 @@ jobs: - name: Check ldd --version run: ldd --version - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 # this is to make sure we obtain the target base commit - name: Python Setup diff --git a/.github/workflows/benchmarks_pr.yml b/.github/workflows/benchmarks_pr.yml index b301539c710..cb3186929b2 100644 --- a/.github/workflows/benchmarks_pr.yml +++ b/.github/workflows/benchmarks_pr.yml @@ -20,7 +20,7 @@ jobs: run: | echo "Action triggered by ${{ github.event.pull_request.html_url }}" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 # this is to make sure we obtain the target base commit - name: Python Setup @@ -93,7 +93,7 @@ jobs: - name: Check ldd --version run: ldd --version - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 50 # this is to make sure we obtain the target base commit - name: Python Setup diff --git a/.github/workflows/wheels-legacy.yml b/.github/workflows/wheels-legacy.yml index 707242dc81b..d575d034484 100644 --- a/.github/workflows/wheels-legacy.yml +++ b/.github/workflows/wheels-legacy.yml @@ -41,12 +41,12 @@ jobs: python3 -mpip install wheel TORCHRL_BUILD_VERSION=0.6.1 python3 setup.py bdist_wheel - name: Upload wheel for the test-wheel job - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: torchrl-win-${{ matrix.python_version[0] }}.whl path: dist/torchrl-*.whl - name: Upload wheel for download - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: torchrl-batch.whl path: dist/*.whl @@ -81,7 +81,7 @@ jobs: run: | python3 -mpip install numpy pytest pytest-cov codecov unittest-xml-reporting pillow>=4.1.1 scipy av networkx expecttest pyyaml - name: Download built wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: torchrl-win-${{ matrix.python_version }}.whl path: wheels