Skip to content

Commit

Permalink
update codegen paths
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Mar 3, 2024
1 parent 81b3471 commit 2771aa8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:

- name: Generate natives
run: |
wget https://github.com/thelindat/fivem-lua-natives/archive/master.zip -O repo.zip
wget https://github.com/thelindat/rage-lua-natives/archive/master.zip -O repo.zip
unzip repo.zip
cd fivem-lua-natives-master
npm install
npm start
cd rage-lua-natives-master
pnpm i
pnpm start
cd ..
rm -rf library/natives/*
mv -f fivem-lua-natives-master/build/cfx/{CFX-NATIVE,GTAV,RDR3} library/natives/
rm -rf fivem-lua-natives-master
mv -f rage-lua-natives-master/build/cfx/{CFX-NATIVE,GTAV,RDR3} library/natives/
rm -rf rage-lua-natives-master
rm repo.zip
- name: Update repository
Expand Down

0 comments on commit 2771aa8

Please sign in to comment.