release: Release 5 gems (#1050) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[release hook] Update open releases" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release-update-open-requests: | |
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }} | |
env: | |
ruby_version: "3.0" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Ruby ${{ env.ruby_version }} | |
uses: ruby/setup-ruby@v1.180.1 | |
with: | |
ruby-version: ${{ env.ruby_version }} | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install Toys | |
run: "gem install --no-document toys -v 0.15.5" | |
- name: Update open releases | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
toys release _onpush --verbose \ | |
< /dev/null |