Commit, pull w/ rebase, push #16
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: Auto-generate CC Build TOML | |
on: | |
push: | |
branches: | |
- 'generate/aws-lc-sys-*' | |
jobs: | |
generate-and-commit: | |
if: github.repository == 'aws/aws-lc-rs' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 1 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-12, macos-13-xlarge ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install current Bash on macOS | |
if: runner.os == 'macOS' | |
run: brew install bash coreutils | |
- name: Run Generate Scripts | |
run: | | |
./scripts/build/generate_build_toml.sh | |
- name: Commit & Push changes | |
run: | | |
git add . | |
git commit -m "CC toml from ${{ matrix.os }} | |
git pull --rebase | |
git push |