Skip to content

Generate

Generate #1

Workflow file for this run

name: Generate
on:
repository_dispatch:
types: [spec_release]
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
container:
image: dart:latest
steps:
- uses: actions/checkout@v4
- name: Pub cache
uses: actions/cache@v4
with:
path: .pub-cache
key: pub-cache-${{ hashFiles('**/pubspec.lock') }}
restore-keys: pub-cache-
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Generate
run: ./generate.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: ci/regenerate-from-spec
commit-message: "Regenerated from spec"
title: "[CI] Regenerated from spec"
body: "Regenerated from spec"