Skip to content

Commit a61fe4a

Browse files
committed
Fix continuous API doc artifact generation
1 parent c3f2d0c commit a61fe4a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/haddock-pages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,16 @@ jobs:
4141
run: mv $(find haddock_build -wholename '*doc/html/circular-enum' | head -n 1) $HADDOCK_DIR
4242

4343
- name: Store generated API docs
44-
uses: actions/upload-pages-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: Haddock API docs
4747
path: ${{ env.HADDOCK_DIR }}
4848

49+
- name: Prepare API docs for pages deployment
50+
uses: actions/upload-pages-artifact@v3
51+
with:
52+
path: ${{ env.HADDOCK_DIR }}
53+
4954
deploy:
5055
needs: haddock
5156
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)