Invert gl async swap feature #6
Workflow file for this run
This file contains 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: Generate and commit AMS configuration doc | |
on: | |
push: | |
paths: | |
- 'ref/ams-configuration.tmpl.md' | |
- 'ref/ams-configuration.yaml' | |
pull_request: | |
paths: | |
- 'ref/ams-configuration.tmpl.md' | |
- 'ref/ams-configuration.yaml' | |
jobs: | |
generate: | |
name: Generate and (maybe) commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Generate Markdown file | |
run: python scripts/generate-ams-config.py | |
- name: Show Markdown file | |
run: cat ref/ams-configuration.md | |
- name: Commit changes | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
message: 'Generate AMS configuration doc' | |
add: 'ref/ams-configuration.md' |