forked from googleapis/elixir-google-api
-
Notifications
You must be signed in to change notification settings - Fork 147
32 lines (31 loc) · 888 Bytes
/
generate-updates.yml
File metadata and controls
32 lines (31 loc) · 888 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
name: Generate-Updates
on:
workflow_dispatch:
inputs:
args:
description: "Extra command line arguments."
required: false
jobs:
generate-updates:
if: ${{ github.repository == 'googleapis/elixir-google-api' }}
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: execute
run: |
toys generate-updates -v --fork --use-dam ${{ github.event.inputs.args }}