Skip to content

Generate via GH workflow #4

Generate via GH workflow

Generate via GH workflow #4

name: Auto-generate CC Build TOML
on:
push:
branches:
- 'generate/aws-lc-sys*'
jobs:
generate-and-commit:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-12, macos-13-xlarge ]
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: dtolnay/rust-toolchain@master
id: toolchain
with:
toolchain: ${{ matrix.rust }}
- name: Set Rust toolchain override
run: rustup override set ${{ steps.toolchain.outputs.name }}
- name: Run Generate Scripts
run: |
./scripts/build/generate_build_toml.sh
- name: Commit and Push Changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "CC Build TOML: Linux x86"
branch: ${{ github.ref }}