From c6c27d03207c49c62cb0df0040e3208388a9b8f0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 27 Oct 2026 06:27:06 +0900 Subject: [PATCH] Promote the Windows binary package when publishing a release draft-release in ruby/actions stages an mswin binary zip next to the draft tarballs, but nothing promotes it to pub/ruby/binaries, so each release has needed a manual publish-binaries run. Dispatch it alongside the other post-release hooks. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eeed8cd6140..780cbd929c2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -73,6 +73,15 @@ jobs: https://api.github.com/repos/ruby/actions/dispatches \ -d '{"event_type": "update_index"}' + - name: Publish Windows binary package + run: | + curl -L -X POST \ + -H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/ruby/actions/dispatches \ + -d "{\"event_type\": \"publish-binaries\", \"client_payload\": {\"version\": \"${RUBY_VERSION}\"}}" + - name: Build and push Docker images run: | curl -L -X POST \