Skip to content

Commit

Permalink
Update GH action (#2721)
Browse files Browse the repository at this point in the history
Summary:
- Update GH action to unblock docs jobs

Pull Request resolved: #2721

Reviewed By: basilwong

Differential Revision: D69093733

Pulled By: q10

fbshipit-source-id: 69a42b4d0c30666b56f46de345478c78c5c7a1dd
  • Loading branch information
q10 authored and facebook-github-bot committed Feb 4, 2025
1 parent 6e3d296 commit fa52570
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/setup-python@v4
- name: Checkout torchrec repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: pytorch/torchrec
- name: Filter Generated Built Matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_dynamic_embedding_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: Check disk space
run: df . -h

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -55,6 +55,6 @@ jobs:
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Check ldd --version
run: ldd --version
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
# Update references
- name: Update pip
run: |
Expand Down Expand Up @@ -83,7 +83,7 @@ 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/
Expand All @@ -103,9 +103,9 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: Built-Docs
path: docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
architecture: x64
Expand All @@ -19,6 +19,6 @@ jobs:
black==24.2.0
usort==1.0.8
- name: Checkout Torchrec
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run pre-commit
uses: pre-commit/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/pyre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
python-version: 3.9
- name: Checkout Torchrec
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install dependencies
run: >
pip install torch --index-url https://download.pytorch.org/whl/nightly/cpu &&
Expand Down

0 comments on commit fa52570

Please sign in to comment.