Skip to content

Commit b5ee7cd

Browse files
q10facebook-github-bot
authored andcommitted
Save built docs as GHA artifact (pytorch#774)
Summary: Pull Request resolved: facebookresearch/FBGEMM#774 - Save built docs as GHA artifact X-link: pytorch#3695 Reviewed By: sryap Differential Revision: D69688831 Pulled By: q10 fbshipit-source-id: 8a60b83b64579b5052777c439b4afb49f106f83b
1 parent aa8126d commit b5ee7cd

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.github/workflows/fbgemm_gpu_ci_cuda.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ jobs:
124124
run: . $PRELUDE; cd fbgemm_gpu; build_fbgemm_gpu_package $BUILD_ENV nightly cuda
125125

126126
- name: Upload Built Wheel as GHA Artifact
127-
# Cannot upgrade to actions/upload-artifact@v4 yet because GLIBC on the instance is too old
128127
uses: actions/upload-artifact@v4
129128
with:
130129
name: fbgemm_gpu_nightly_cuda_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl

.github/workflows/fbgemm_gpu_ci_genai.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ jobs:
124124
run: . $PRELUDE; cd fbgemm_gpu; build_fbgemm_gpu_package $BUILD_ENV nightly genai
125125

126126
- name: Upload Built Wheel as GHA Artifact
127-
# Cannot upgrade to actions/upload-artifact@v4 yet because GLIBC on the instance is too old
128127
uses: actions/upload-artifact@v4
129128
with:
130129
name: fbgemm_gpu_nightly_genai_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl

.github/workflows/fbgemm_gpu_ci_genai_generic_infra.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ jobs:
115115
run: . $PRELUDE; cd fbgemm_gpu; build_fbgemm_gpu_package $BUILD_ENV nightly genai
116116

117117
- name: Upload Built Wheel as GHA Artifact
118-
# Cannot upgrade to actions/upload-artifact@v4 yet because GLIBC on the instance is too old
119118
uses: actions/upload-artifact@v4
120119
with:
121120
name: fbgemm_gpu_nightly_genai_${{ matrix.host-machine.arch }}_${{ matrix.compiler }}_py${{ matrix.python-version }}_cu${{ matrix.cuda-version }}.whl

.github/workflows/fbgemm_gpu_docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ jobs:
8888
- name: Build FBGEMM_GPU Documentation
8989
run: . $PRELUDE; cd fbgemm_gpu/docs; build_fbgemm_gpu_docs $BUILD_ENV
9090

91+
- name: Upload Built Docs as GHA Artifact
92+
uses: actions/upload-artifact@v4
93+
with:
94+
name: fbgemm_gpu_docs_${{ github.sha }}
95+
path: fbgemm_gpu/docs/build
96+
if-no-files-found: error
97+
9198
- name: Deploy FBGEMM_GPU Documentation
9299
if: ${{ github.event_name != 'pull_request' }}
93100
uses: JamesIves/github-pages-deploy-action@releases/v4

fbgemm_gpu/docs/src/general/documentation/Python.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ docstring:
4141
.. autofunction:: fbgemm_gpu.docs.examples.example_method
4242
4343
#. Make sure the ``.rst`` file is included in to the ``toctree`` in
44-
``index.rst`` (e.g. :ref:`fbgemm-gpu.toc.api.python`).
44+
``index.rst`` (e.g. :ref:`fbgemm-gpu.toc.api.python.ops`).
4545

4646
#. Verify the changes by building the docs locally with
4747
:ref:`general.docs.build` or submitting a PR for a Netlify preview.

0 commit comments

Comments
 (0)