ci(release/pre-release): copy only lua lib files

This commit is contained in:
Luke committed 2022-07-10 17:42:32 +02:00
1 parent 91985638e2
commit 3b93df03ef
2 files changed
+7 -3

No files matched your search

+4 -2
View File
@@ -32,10 +32,12 @@ jobs:
run: |
mkdir -p ./temp/oxmysql
mkdir -p ./temp/oxmysql/ui/
mkdir -p ./temp/oxmysql/lib/
cp ./{LICENSE,README.md,fxmanifest.lua,ui.lua} ./temp/oxmysql
cp -r ./{lib,dist} ./temp/oxmysql
cp ./lib/{MySQL.lua,define.lua} ./temp/oxmysql/lib
cp -r ./dist ./temp/oxmysql
cp -r ./ui/build ./temp/oxmysql/ui/
cd ./temp && zip -r ../oxmysql-${{ github.event.inputs.tag }}.zip ./oxmysql
cd ./temp && zip -r ../oxmysql.zip ./oxmysql
- name: Create Release
uses: 'marvinpinto/[email protected]'