fix(ci): native-image distro rename + workflow_dispatch tag upload + Formula sha256 v1.3.0#168
Merged
Merged
Conversation
…Formula sha256 v1.3.0
Three follow-ups to the v1.3.0 release pipeline.
native-image.yml
- distribution: graalce -> graalvm-community
GitHub's graalvm/setup-graalvm@v1 dropped the legacy "graalce"
alias; the v1.3.0 native-image build (auto-dispatched by
release.yml from PR #164) failed with "Unsupported distribution".
"graalvm-community" is the new identifier for GraalVM CE.
- Upload-to-release step now fires on both `release: published`
AND `workflow_dispatch` when the ref points at a tag. Without
this, the auto-trigger from release.yml runs the build but the
binary never lands on the GitHub Release.
- Both matrix jobs were uploading their binary as "argus", so the
second job's clobber overwrote the first one. Rename the file
to ${{ matrix.artifact }} (argus-linux-amd64 /
argus-macos-aarch64) before upload so install.sh, which already
expects these platform-specific names, can actually find them.
- Add `permissions: contents: write` so `gh release upload` is
authorized.
Formula/argus.rb
- sha256 recomputed against the published v1.3.0 JAR. Until this
lands, `brew install` fails with a checksum mismatch — same
well-understood pattern from #161.
Signed-off-by: rlaope <piyrw9754@gmail.com>
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
Three v1.3.0 release-pipeline follow-ups in one PR.
native-image.yml
Formula/argus.rb
`sha256` recomputed against the published v1.3.0 JAR (`f2e3ce15…`). Without this, `brew install` fails with a checksum mismatch. Same well-understood pattern from #161.
Test plan