Skip to content

release: Release 2 gems (#242) #118

release: Release 2 gems (#242)

release: Release 2 gems (#242) #118

name: "[release hook] Update open releases"
on:
push:
branches:
- main
jobs:
release-update-open-requests:
if: ${{ github.repository == 'dazuma/toys' }}
env:
ruby_version: "3.2"
runs-on: ubuntu-latest
steps:
- name: Install Ruby ${{ env.ruby_version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.ruby_version }}
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Toys
run: "gem install --no-document toys"
- name: Update open releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
toys release _onpush --verbose \
< /dev/null