Skip to content

Commit

Permalink
Prepare build.sh to regenerate schemas by prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
yannh committed Aug 28, 2021
1 parent e59f742 commit db22499
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: ci
name: cron
on:
workflow_dispatch:
schedule:
- cron: "10 10 */2 * *"
inputs:
prefix:
description: 'Prefix to regenerate'
required: true
default: 'master'
jobs:
gen:
runs-on: ubuntu-latest
Expand All @@ -12,7 +17,7 @@ jobs:

# Ensure master* is up-to-date
- name: delete master folders
run: rm -rf master*
run: ls $INPUT_PREFIX*

- name: generate
run: make gen
Expand Down

0 comments on commit db22499

Please sign in to comment.