Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antora #462

Merged
merged 3 commits into from
Sep 25, 2023
Merged

Antora #462

merged 3 commits into from
Sep 25, 2023

Conversation

rwinch
Copy link
Member

@rwinch rwinch commented Sep 25, 2023

No description provided.

This defers the looking up of modifiedFiles until it is used. It
also allows other tasks to be ran from the non-primary worktree.
Working in another worktree is essential for Antora which will clone
each branch/tag into a new worktree to process it.
This ensures the attributes are available for the docs-build branch
as well.
The permission actions: write is necessary so that pushes to branches
and tags can invoke the deploy-docs workflow on the docs-build branch
@@ -6,7 +6,7 @@ if (gitPresent) {

ext {
if (gitPresent) {
modifiedFiles = files(grgit.status().unstaged.modified).filter{ f -> f.name.endsWith('.java') }
modifiedFiles = providers.provider { files(grgit.status().unstaged.modified).filter{ f -> f.name.endsWith('.java') } }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was in there previously but I removed as gradle build was failing on it. I thought maybe it was from Gradle 8 but did not look too much into it.

@onobc onobc merged commit 0830704 into spring-projects:main Sep 25, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants