From cdda4c4182c9ee068567529715e4a5c68a8efb58 Mon Sep 17 00:00:00 2001 From: bonmas14 Date: Sat, 20 Sep 2025 22:28:15 +0300 Subject: Init commit v1.0 --- deps/raylib/.github/workflows/parse.yml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 deps/raylib/.github/workflows/parse.yml (limited to 'deps/raylib/.github/workflows/parse.yml') diff --git a/deps/raylib/.github/workflows/parse.yml b/deps/raylib/.github/workflows/parse.yml new file mode 100644 index 0000000..554eaf9 --- /dev/null +++ b/deps/raylib/.github/workflows/parse.yml @@ -0,0 +1,37 @@ +name: Parse raylib_api + +on: + workflow_dispatch: + push: + paths: + - "src/raylib.h" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Update parse files + working-directory: parser + run: | + make raylib_api + mv raylib_api.* output + + - name: Diff parse files + id: diff + run: | + git add -N parser + git diff --name-only --exit-code + continue-on-error: true + + - name: Commit parse files + if: steps.diff.outcome == 'failure' + run: | + set -x + git config user.email "github-actions[bot]@users.noreply.github.com" + git config user.name "github-actions[bot]" + git add parser + git commit -m "Update raylib_api.* by CI" + git push -- cgit v1.2.3-70-g09d2