🌱 Define fine-grained owners for the various subcomponents of OLMv1. … #61
This file contains hidden or 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: update-demos | |
on: | |
schedule: | |
- cron: '0 3 * * *' # Runs every day at 03:00 UTC | |
workflow_dispatch: | |
push: | |
paths: | |
- 'api/*' | |
- 'config/*' | |
- 'hack/demo/*' | |
- '.github/workflows/update-demos.yaml' | |
pull_request: | |
paths: | |
- 'api/*' | |
- 'config/*' | |
- 'hack/demo/*' | |
- '.github/workflows/update-demos.yaml' | |
jobs: | |
demo: | |
runs-on: ubuntu-latest | |
env: | |
TERM: linux | |
steps: | |
- run: sudo apt update && sudo apt install -y asciinema curl | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Run Demo Update | |
run: | | |
env -i \ | |
HOME="$HOME" \ | |
PATH="$PATH" \ | |
TERM="xterm-256color" \ | |
SHELL="/bin/bash" \ | |
make update-demos | |