Skip to content

Package the Windows runtime with 7-Zip, and build runtimes in PR CI - #58

Merged
jochen-testingbot merged 1 commit into
mainfrom
fix-windows-runtime-archive
Oct 2, 2026
Merged

jochen-testingbot merged 1 commit into
mainfrom
fix-windows-runtime-archive

Conversation

@jochen-testingbot

Copy link
Copy Markdown
Contributor

The v5.0 release shipped no Windows distribution. dist/archive.sh calls zip, which Git Bash on the windows-latest runners does not have:

dist/archive.sh: line 43: zip: command not found

Changes

  • dist/archive.sh falls back to 7z (preinstalled on the Windows runners) when zip is absent.
  • test.yml gains a runtime job that builds and verifies the jlink runtime on Linux and Windows for every PR. Until now only release.yml built them, on a tag, by which point Maven Central has already published -- which is how a Windows leg that had never passed reached a release.

macOS is left out of the PR job because what it adds over Linux is signing, which needs secrets a pull request does not get.

Verification

This PR's own runtime (windows-latest) job is the test: it is the first time the Windows leg runs past the archive step.

Windows then ships in 5.0.1.

The v5.0 release built no Windows distribution: dist/archive.sh calls zip,
which Git Bash on the windows-latest runners does not have, so the job
failed with "zip: command not found" before verifying anything. Fall back
to 7z, which the runners do have.

That leg had never passed, and nothing before a tag could show it, because
only release.yml builds the runtimes -- and a tag also publishes to Maven
Central. CI now builds and verifies the Linux and Windows runtimes on every
pull request.
@jochen-testingbot
jochen-testingbot merged commit 1157525 into main Oct 2, 2026
14 of 15 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.

1 participant