Release-Please #621
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-Please | |
on: | |
schedule: | |
- cron: '57 10 * * *' | |
workflow_dispatch: | |
inputs: | |
gem: | |
description: "Name of single gem to release. Leave blank to check all gems." | |
required: false | |
args: | |
description: "Extra command line arguments." | |
required: false | |
jobs: | |
release-please: | |
if: ${{ github.repository == 'googleapis/ruby-spanner-activerecord' }} | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} | |
RELEASE_PLEASE_DISABLE: ${{ secrets.RELEASE_PLEASE_DISABLE }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install Ruby 3.0 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.0" | |
- name: Install NodeJS 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: Install tools | |
run: "gem install --no-document toys" | |
- name: execute | |
run: | | |
toys release manifest -v \ | |
--fork --skip-labeling \ | |
--github-event-name=${{ github.event_name }} \ | |
${{ github.event.inputs.args }} \ | |
-- ${{ github.event.inputs.gem }} |