Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ jobs:
name: javadoc-html
path: javadoc-site
if-no-files-found: error
# v4.4+ drops dotfiles by default; keep .nojekyll in the artifact.
include-hidden-files: true

publish:
# Never publish from pull requests. workflow_dispatch may run off main.
Expand Down Expand Up @@ -135,7 +137,10 @@ jobs:
fi
mkdir -p "${VERSION}" latest
cp "${SITE}/index.html" index.html
cp "${SITE}/.nojekyll" .nojekyll
# Do not copy .nojekyll from the artifact: upload-artifact@v4 omits
# hidden files unless include-hidden-files is set. Recreate it here
# so publish still succeeds if a future upload drops it again.
touch .nojekyll
rm -rf "${VERSION}" latest
mkdir -p "${VERSION}" latest
cp -R "${SITE}/${VERSION}/." "${VERSION}/"
Expand Down
Loading