Skip to content

Commit

Permalink
artifact actions v3 is depricatred (#2716)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aliafzal authored and facebook-github-bot committed Feb 4, 2025
1 parent 96abf2a commit 48f8a3f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/build_dynamic_embedding_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ jobs:
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: upload-wheels-artifact-${{ matrix.runs-on }}
path: wheelhouse/*.whl

merge:
runs-on: ${{ matrix.os }}
needs: build_wheels
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: all-my-wheels
pattern: wheels-*
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,11 @@ jobs:
conda run -n build_binary make html
cd ..
- name: Upload Built-Docs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Built-Docs
path: docs/build/html/
overwrite: true
- name: Get output time
run: echo "The time was ${{ steps.build.outputs.time }}"
- name: Deploy
Expand All @@ -105,10 +106,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Built-Docs
path: docs
overwrite: true
- name: Add no-index tag
run: |
find docs -name "*.html" -print0 | xargs -0 sed -i '/<head>/a \ \ <meta name="robots" content="noindex">';
Expand Down

0 comments on commit 48f8a3f

Please sign in to comment.