summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-08-02 11:42:07 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-08-02 11:42:27 +0900
commit0aaff21736549a97aa215d557297709fc325612a (patch)
tree006d90cab155dc079d7441edf27a28d36afac7b2
parent66cbafc603d8def8f8ec3373fcadcbfce8b9010d (diff)
Notify ruby-build for definition update
-rw-r--r--.github/workflows/release.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 67b3ff37d1..fb7c9e12b2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -63,6 +63,15 @@ jobs:
https://api.github.com/repos/ruby/snap.ruby/dispatches \
-d '{"event_type": "build", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}"}}'
+ - name: Update ruby-build definition
+ run: |
+ curl -L -X POST \
+ -H "Authorization: Bearer ${{ secrets.RUBY_BUILD_WORKFLOW_TOKEN }}" \
+ -H "Accept: application/vnd.github+json" \
+ -H "X-GitHub-Api-Version: 2022-11-28" \
+ https://api.github.com/repos/rbenv/ruby-build/dispatches \
+ -d '{"event_type": "update-ruby"}'
+
- name: Update all-ruby definition
run: |
curl -L -X POST \