Use codecov token; bump codecov-action to v3 (#166) #12
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: examples | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
examples: | |
name: Build and commit examples | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Build examples and docs | |
run: | | |
make examples | |
make docs | |
- name: Commit changed files from build | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Add rendered files from build | |
file_pattern: examples/* docs/docs/*.md README.md |