Skip to content

Build and publish CLI releases with GitHub Actions - #1

Merged
mohsen1 merged 1 commit into
mainfrom
codex/actions-publishing
Oct 15, 2026
Merged

mohsen1 merged 1 commit into
mainfrom
codex/actions-publishing

Conversation

@mohsen1

@mohsen1 mohsen1 commented Oct 15, 2026

Copy link
Copy Markdown
Member

Build the four supported Linux/macOS CLI archives on native GitHub runners and publish them through GitHub Releases and the existing proofline.sh download bucket. CI runs formatting, Clippy, Rust tests, dependency policy and release-admission/publisher tests.

A release must match Cargo's version and belong to main. Manual dispatch defaults to build-only. Build jobs hold no publishing credential. The protected release environment requires Mohsen's approval; its publisher uses GitHub's job token and the existing bucket-scoped R2 secret. GitHub draft creation and a conditional R2 reservation prevent replacement of a version. Existing R2 releases and version regressions are refused. GitHub attestations cover each archive, and the installer URLs remain unchanged.

Validation: actionlint, shellcheck and eight local publisher/admission tests pass. The HTTPS tests verify real curl S3 signatures, reservation refusal, version/publication failures, and writing latest only after every archive. Native GitHub checks and the four-target dry run must pass before the initial 0.1.1 publication. Legacy Cloud Build publishing will be disabled before the first Actions publication.

@mohsen1
mohsen1 merged commit 3b2e733 into main Oct 15, 2026
3 checks passed
@mohsen1
mohsen1 deleted the codex/actions-publishing branch October 15, 2026 14:40
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