Skip to content

UpdateApiList

UpdateApiList #6

name: UpdateApiList
on:
schedule:
- cron: "50 4 * * 1"
workflow_dispatch:
jobs:
update-api-list:
if: ${{ github.repository_owner == 'googleapis' }}
runs-on: ubuntu-20.04
env:
GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- name: Install Elixir
uses: erlef/setup-beam@v1
with:
otp-version: "26.2.3"
elixir-version: "1.14.5-otp-26"
version-type: strict
- name: Install tools
run: |
gem install --no-document toys
- name: Compile
run: |
mix do deps.get, compile
- name: Discover updates
run: |
toys update-api-list -v --fork