mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 22:21:51 +00:00
ci(release/pre-release): copy only lua lib files
This commit is contained in:
1 parent
91985638e2
commit
3b93df03ef
2 files changed
+7
-3
No files matched your search
@@ -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]'
|
||||
|
||||
@@ -40,8 +40,10 @@ 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.zip ./oxmysql
|
||||
|
||||
|
||||
Reference in new issue
Block a user