Skip to content

Workflow file for this run

name: generate native definitions
on:
push:
branches: [dev]
schedule:
- cron: 0 0 * * SUN
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: setup natives
run: |
git clone https://github.com/thelindat/JetbrainIDE-CFX.RE.git
cd JetbrainIDE-CFX.RE
npm install
npm start
mv -f ./build/cfx ../Lua/natives
cd ..
- name: update repo
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git diff-index --quiet HEAD || git commit -am "ci: generate native definitions"
git push