ci: nightly master tarball workflow#108
Open
RvVeen wants to merge 1 commit into
Open
Conversation
Add a GitHub Action that builds and publishes a tarball to a rolling _master prerelease on every push to master. Bump release checkout to actions/checkout@v5 and ignore packed tarballs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a GitHub Action that builds and publishes a plugin tarball to a rolling
_masterprerelease on every push tomaster, so users can install the latestbuild directly from a stable URL without waiting for an npm release.
Changes
.github/workflows/master-tarball.yml— on push tomaster(and manualdispatch):
bun install,bun test,bun run typecheck,bun run build,then
npm packand upload the tarball asopencode-kiro-auth.tgzto the_masterprerelease, keeping the tag pointed atHEAD..github/workflows/release.yml— bumpactions/checkoutfrom v4 to v5..gitignore— ignore packed*.tgztarballs.Usage
Install the nightly build in
opencode.json:{ "plugin": [ "https://github.com/<owner>/opencode-kiro-auth/releases/download/_master/opencode-kiro-auth.tgz" ] }Testing
bun test+typecheck+buildgate before packing,so a broken build never publishes a tarball.