summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-08-01 09:19:42 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-08-01 13:38:33 +0800
commit9ed7e06a27f9bdcbf636be605e4e81edcc65c69f (patch)
tree6bb3b628b720d48d4a78daf18ec454c5721c354f
parente935366fe8aeb924234c154e8bd27e000c895020 (diff)
Added workflow for building snapcraft
https://github.com/ruby/snap.ruby/actions/runs/10189575392/job/28187867439
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11286
-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 e9247476fe..7210670ff0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -53,3 +53,12 @@ jobs:
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/ruby/docker-images/dispatches \
-d '{"event_type": "build", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}", "arch": "amd64", "latest": "${{ env.LATEST }}"}}'
+
+ - name: Build snapcraft packages
+ 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/snap.ruby/dispatches \
+ -d '{"event_type": "build", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}"}}'