You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be that when a Gradle task (like getNextReleaseMilestone or checkMilestoneIsDueToday) fails, wrapping its execution directly within echo "key=$(./gradlew ...)" >> $GITHUB_OUTPUT causes the step to (incorrectly) report success because the echo command itself succeeds.
My tests confirm that changing the script to first assign the Gradle output to a variable, and then separately echoing that variable to $GITHUB_OUTPUT, allows the step to correctly fail when the Gradle task fails.
Proposal:
In update-scheduled-release-version.yml, modify steps executing Gradle tasks from:
The update-scheduled-release-version reports success when a step fails See https://github.com/spring-projects-experimental/spring-boot-testjars/actions/runs/7672549320/job/20913290023
When fails on Get Next Release Milestone
The text was updated successfully, but these errors were encountered: