Skip to content

Commit afd5bc4

Browse files
joecummingsJoe Cummings
and
Joe Cummings
authored
Use checkout@v4 / upload@v4 for docs build (#2322)
Co-authored-by: Joe Cummings <[email protected]>
1 parent e6b9064 commit afd5bc4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_docs.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python-version: ['3.11']
2929
steps:
3030
- name: Check out repo
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
- name: Setup conda env
3333
uses: conda-incubator/setup-miniconda@v2
3434
with:
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd docs
5252
make html
53-
- uses: actions/upload-artifact@v3
53+
- uses: actions/upload-artifact@v4
5454
with:
5555
name: Built-Docs
5656
path: docs/build/html/
@@ -61,9 +61,9 @@ jobs:
6161
if: ${{ github.repository_owner == 'pytorch' && github.event_name == 'pull_request' }}
6262
steps:
6363
- name: Checkout
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
- name: Download artifact
66-
uses: actions/download-artifact@v3
66+
uses: actions/download-artifact@v4
6767
with:
6868
name: Built-Docs
6969
path: docs
@@ -87,12 +87,12 @@ jobs:
8787
environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docs-push' || '' }}
8888
steps:
8989
- name: Checkout
90-
uses: actions/checkout@v3
90+
uses: actions/checkout@v4
9191
with:
9292
ref: gh-pages
9393
persist-credentials: false
9494
- name: Download artifact
95-
uses: actions/download-artifact@v3
95+
uses: actions/download-artifact@v4
9696
with:
9797
name: Built-Docs
9898
path: docs

0 commit comments

Comments
 (0)