Skip to content

Commit 3ba8a15

Browse files
aliafzalfacebook-github-bot
authored andcommitted
artifact actions v3 is depricatred (pytorch#2716)
Summary: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ updating artifact actions to v4 Reviewed By: PaulZhang12 Differential Revision: D68931905
1 parent 96abf2a commit 3ba8a15

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Diff for: .github/workflows/build_dynamic_embedding_wheels.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
shell: bash
5656

5757
- name: Upload wheels
58-
uses: actions/upload-artifact@v3
58+
uses: actions/upload-artifact@v4
5959
with:
6060
path: wheelhouse/*.whl
61+
overwrite: true

Diff for: .github/workflows/docs.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ jobs:
8383
conda run -n build_binary make html
8484
cd ..
8585
- name: Upload Built-Docs
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8787
with:
8888
name: Built-Docs
8989
path: docs/build/html/
90+
overwrite: true
9091
- name: Get output time
9192
run: echo "The time was ${{ steps.build.outputs.time }}"
9293
- name: Deploy
@@ -105,10 +106,11 @@ jobs:
105106
- name: Checkout
106107
uses: actions/checkout@v3
107108
- name: Download artifact
108-
uses: actions/download-artifact@v3
109+
uses: actions/download-artifact@v4
109110
with:
110111
name: Built-Docs
111112
path: docs
113+
overwrite: true
112114
- name: Add no-index tag
113115
run: |
114116
find docs -name "*.html" -print0 | xargs -0 sed -i '/<head>/a \ \ <meta name="robots" content="noindex">';

0 commit comments

Comments
 (0)