Skip to content

feat(nightly): publish rolling prerelease#3

Merged
DonPrus merged 1 commit into
v1from
feat/nightly-prerelease
May 8, 2026
Merged

feat(nightly): publish rolling prerelease#3
DonPrus merged 1 commit into
v1from
feat/nightly-prerelease

Conversation

@DonPrus
Copy link
Copy Markdown
Contributor

@DonPrus DonPrus commented May 8, 2026

What changed

Adds an opt-in release publisher to the reusable Zig nightly workflow.

When publish_release is true, the workflow now downloads the generated nightly artifacts and creates or updates a rolling GitHub prerelease. The release title includes the UTC build time, and the body records the embedded nightly version, commit SHA, and workflow run URL.

New workflow_call inputs:

  • publish_release (default false)
  • release_tag (default nightly)
  • release_title (default Nightly)

Why

Nightly artifacts are currently only visible inside individual Actions runs. A rolling prerelease gives callers a stable, discoverable place to find the latest nightly build while preserving the existing Actions artifacts.

Validation

  • git diff --check
  • YAML parsed with Ruby YAML.load_file
  • zig test .github/actions/nightly-decide/nightly_decide.zig
  • zig test .github/actions/package-artifact/package_artifact.zig

@DonPrus DonPrus merged commit d146fbc into v1 May 8, 2026
@DonPrus DonPrus deleted the feat/nightly-prerelease branch May 8, 2026 02:00
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