Skip to content

Generate via GH workflow #3

Generate via GH workflow

Generate via GH workflow #3

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:
- name: Checkout Repository
uses: actions/checkout@v4
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 }}