Skip to content

Commit ccf210b

Browse files
Merge pull request #334 from Distributive-Network/caleb/fix/docs/publish
fix(CI): correctly upload docs from the runner that builds them
2 parents ef178ce + 0984d36 commit ccf210b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,6 @@ jobs:
194194
with:
195195
name: wheel-${{ github.run_id }}-${{ github.sha }}
196196
path: ./dist/
197-
- name: Upload Doxygen-generated docs as CI artifacts
198-
uses: actions/upload-artifact@v3
199-
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.python_version == '3.11' }} # making sure we only upload once
200-
with:
201-
name: docs-${{ github.run_id }}-${{ github.sha }}
202-
path: ./build/docs/html/
203197
- name: Set cores to get stored in /cores
204198
if: ${{ matrix.os != 'windows-2019' }}
205199
# TODO (Caleb Aikens) figure out how to get Windows core dumps
@@ -264,6 +258,11 @@ jobs:
264258
with:
265259
name: wheel-${{ github.run_id }}-${{ github.sha }}
266260
path: ./dist/
261+
- name: Upload Doxygen-generated docs as CI artifacts
262+
uses: actions/upload-artifact@v3
263+
with:
264+
name: docs-${{ github.run_id }}-${{ github.sha }}
265+
path: ./build/docs/html/
267266
publish:
268267
needs: [build-and-test, sdist]
269268
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)