Debian Codegraph @

.github/workflows/parse_api.yml

raw symbols SCIP
1 name: Parse raylib API
2
3 on:
4 workflow_dispatch:
5 push:
6 paths:
7 - "src/raylib.h"
8
9 jobs:
10 build:
11 runs-on: ubuntu-latest
12
13 steps:
14 - uses: actions/checkout@v4
15
16 - name: Update parse files
17 working-directory: tools/rlparser
18 run: |
19 make raylib_api
20 mv raylib_api.* output
21
22 - name: Diff parse files
23 id: diff
24 run: |
25 git add -N tools/rlparser/output
26 git diff --name-only --exit-code
27 continue-on-error: true
28
29 - name: Commit parse files
30 if: steps.diff.outcome == 'failure'
31 run: |
32 set -x
33 git config user.name "github-actions[bot]"
34 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
35 git add tools/rlparser/output
36 git commit -m "rlparser: update raylib_api.* by CI"
37 git push