2021-12-31 12:12:40 +08:00
|
|
|
name: genbindings
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- dev
|
|
|
|
paths:
|
2021-12-31 14:39:08 +08:00
|
|
|
- core/**/*
|
2021-12-31 12:12:40 +08:00
|
|
|
- extensions/**/*
|
2022-02-24 19:02:42 +08:00
|
|
|
- tools/tolua/*
|
2021-12-31 12:12:40 +08:00
|
|
|
- .github/workflows/genbindings-ci.yml
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: 'recursive'
|
|
|
|
|
|
|
|
- name: Setup Python
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
|
2022-01-28 15:27:17 +08:00
|
|
|
- uses: ilammy/msvc-dev-cmd@v1.10.0
|
2021-12-31 12:12:40 +08:00
|
|
|
with:
|
|
|
|
arch: ${{ env.BUILD_ARCH }}
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: tools\win-ci\genbindings.ps1
|
2022-01-01 21:27:39 +08:00
|
|
|
|
|
|
|
- name: Commit genbindings changes
|
2022-06-09 17:02:41 +08:00
|
|
|
uses: EndBug/add-and-commit@v9.0.0
|
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-09 17:02:41 +08:00
|
|
|
message: 'Committing genbindings changes'
|
2022-01-01 21:27:39 +08:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|