forked from googleapis/elixir-google-api
-
Notifications
You must be signed in to change notification settings - Fork 148
35 lines (33 loc) · 867 Bytes
/
update-api-list.yml
File metadata and controls
35 lines (33 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 --use-dam