diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-08-01 09:19:42 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-08-01 13:38:33 +0800 |
| commit | 9ed7e06a27f9bdcbf636be605e4e81edcc65c69f (patch) | |
| tree | 6bb3b628b720d48d4a78daf18ec454c5721c354f | |
| parent | e935366fe8aeb924234c154e8bd27e000c895020 (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.yml | 9 |
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 }}"}}' |
