Fixing commits #136
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, pull_request] | |
jobs: | |
test-ubuntu: | |
runs-on: Ubuntu-latest | |
container: ghcr.io/uofuepibio/phs7045-advanced-programming:fall2024 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Execute | |
run: | | |
cd example-problems | |
make README.md -B | |
- name: Commit results | |
run: | | |
git config --global user.name "$GITHUB_ACTOR" | |
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
git commit -a -m 'Re-build examples' || echo Nothing has changed | |
git push origin || echo "No changes to commit" |