Skip to content

Fix the release workflow broken by #36 - #38

Merged
mikebarkmin merged 1 commit into
mainfrom
ccr-3eca7a1f-ofkc4j
Sep 30, 2026
Merged

mikebarkmin merged 1 commit into
mainfrom
ccr-3eca7a1f-ofkc4j

Conversation

@mikebarkmin

Copy link
Copy Markdown
Member

#36 left .github/workflows/release.yml invalid: (Line: 60, Col: 9): 'run' is already defined. Adding the "Build NRW jar" step swallowed the - name: Build fat jar line of the step after it, so that step's run: ended up inside the NRW step.

Because the file is invalid, the release run for v5.4.0 (the #37 merge) failed before any job started. Nothing was published: the latest release is still v5.3.1, both on GitHub and on Maven Central.

This PR restores the missing line. It changes nothing else.

Testing

  • actionlint reproduces the error on main and reports nothing on this branch, for every workflow file.

  • I ran the workflow's build steps locally on this branch, at version 5.4.0:

    1. mvn -B clean package -Pall,nrw
    2. copy the NRW JARs to dist/
    3. mvn -B clean package -Pall -DskipTests

    The release would upload scratch-5.4.0.jar, -all, -sources and -javadoc from target/, and scratch-5.4.0-nrw-all.jar and -nrw-sources.jar from dist/.

Merging this publishes v5.4.0

release.yml runs on every PR merged into main, and pom.xml is already at 5.4.0. So merging this PR deploys v5.4.0 to Maven Central and creates the GitHub release, with this PR's description as the release notes. The GitHub release can be edited afterwards; the Maven Central upload can't be taken back.

No changeset, since this only fixes CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KLR5H7eqDSncYYkosKf8r5


Generated by Claude Code

Adding the NRW step swallowed the "- name: Build fat jar" line of the step
after it, so that step's run: landed in the NRW step. GitHub rejects a step
with two run: keys, which failed the v5.4.0 release before it started.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLR5H7eqDSncYYkosKf8r5
@mikebarkmin
mikebarkmin merged commit 9fe3fae into main Sep 30, 2026
2 checks 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.

2 participants