2021-12-31 12:12:40 +08:00
|
|
|
name: genbindings
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-08-13 22:09:02 +08:00
|
|
|
- main
|
2022-07-08 15:34:23 +08:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2022-07-19 18:50:49 +08:00
|
|
|
|
|
|
|
workflow_dispatch:
|
2021-12-31 12:12:40 +08:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
|
|
|
steps:
|
2022-10-20 22:20:33 +08:00
|
|
|
- uses: actions/checkout@v3
|
2021-12-31 12:12:40 +08:00
|
|
|
with:
|
|
|
|
submodules: 'recursive'
|
|
|
|
|
|
|
|
- name: Setup Python
|
2023-03-25 11:14:51 +08:00
|
|
|
uses: actions/setup-python@v4
|
2023-04-02 16:04:19 +08:00
|
|
|
with:
|
|
|
|
python-version: '3.10.6'
|
2021-12-31 12:12:40 +08:00
|
|
|
|
|
|
|
- name: Build
|
2023-06-29 19:46:52 +08:00
|
|
|
run: tools\ci\genbindings.ps1
|
2022-01-01 21:27:39 +08:00
|
|
|
|
|
|
|
- name: Commit genbindings changes
|
2022-10-20 22:20:33 +08:00
|
|
|
uses: EndBug/add-and-commit@v9
|
2022-01-01 21:27:39 +08:00
|
|
|
with:
|
|
|
|
committer_name: GitHub Actions
|
|
|
|
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
|
2022-06-12 22:26:54 +08:00
|
|
|
message: 'Committing genbindings changes'
|
2022-01-01 21:27:39 +08:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|