Skip to content

fix(ci): native-image distro rename + workflow_dispatch tag upload + Formula sha256 v1.3.0#168

Merged
rlaope merged 1 commit into
masterfrom
fix/native-image-graalvm-distro
May 8, 2026
Merged

fix(ci): native-image distro rename + workflow_dispatch tag upload + Formula sha256 v1.3.0#168
rlaope merged 1 commit into
masterfrom
fix/native-image-graalvm-distro

Conversation

@rlaope
Copy link
Copy Markdown
Owner

@rlaope rlaope commented May 8, 2026

Summary

Three v1.3.0 release-pipeline follow-ups in one PR.

native-image.yml

  • distribution: `graalce` → `graalvm-community` — `graalvm/setup-graalvm@v1` deprecated the legacy `graalce` alias. The v1.3.0 native-image build (auto-dispatched by release.yml from chore: add CHANGELOG.md and complete the release pipeline #164) failed with `Unsupported distribution: graalce`. `graalvm-community` is the upstream-blessed identifier for GraalVM CE.
  • Upload step now fires on `workflow_dispatch` + tag ref, not only `release: published`. The auto-trigger from release.yml uses workflow_dispatch, so without this fix the build runs but the binary never lands on the GitHub Release.
  • Per-platform artifact rename before upload. Both matrix jobs were uploading as `argus` and clobbering each other. `install.sh` already expects `argus-linux-amd64` / `argus-macos-aarch64` on the release page, so we rename to those names before upload.
  • Adds `permissions: contents: write` so `gh release upload` is authorized.

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

  • GHCR images for v1.3.0 verified present (CLI + agent both 200)
  • sha256 computed by fetching the published artifact and running `shasum -a 256`
  • After merge: re-dispatch `native-image.yml` against the v1.3.0 tag and confirm both `argus-linux-amd64` and `argus-macos-aarch64` end up as v1.3.0 release assets

…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>
@rlaope rlaope merged commit ea0642e into master May 8, 2026
7 checks passed
@rlaope rlaope deleted the fix/native-image-graalvm-distro branch May 8, 2026 07:23
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