cli/release extension
Generate a release for a precompiled gh extension
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 22, 2026
- License
- MIT
Pinned Snippet
uses: cli/gh-extension-precompile@76961aa3bd1123d0a6fd42d0a41aca0696937c39 # v2.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| build_script_override | Path to custom build script for producing binaries to upload | — | — |
| draft_release | Create a draft release | — | — |
| github_token | GitHub token to use, defaults to `github.token` if unspecified | — | — |
| go_version | The Go version to use for compiling (supports semver spec and ranges) | — | — |
| go_version_file | Path to the go.mod or go.work file to determine version of go to use | — | — |
| gpg_fingerprint | GPG fingerprint to use for signing releases | — | — |
| release_tag | Tag that the release should be created from, defaults to `github.ref` if unspecified | — | — |
| release_title_prefix | Title prefix of the release, defaults to repository name if unspecified | — | — |
| generate_attestations | Whether to generate artifact attestations for release binaries to establish build provenance, defaults to `false` if unspecified | — | false |
| release_android | Whether to release android binaries, defaults to `false` if unspecified | — | false |
| android_ndk_home | Path to the Android NDK for android-amd64 and android-arm64 builds | — | — |
| android_sdk_version | Android SDK build-tools version | — | — |
| go_build_options | Additional options to pass to go build command (e.g., './cmd/my-extension' to specify source directory or '-tags production' for build tags) | — | — |
Outputs
no outputs