[FIX] GitHub Actions - Немного поправил Prebuild

This commit is contained in:
Andrew Molchanov 2021-09-03 16:48:15 +03:00 committed by GitHub
parent fe994cdcca
commit 8b1f0a7d8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,18 +55,11 @@ jobs:
- name: Prebuild release files - name: Prebuild release files
if: startsWith(github.event.ref, 'refs/tags') if: startsWith(github.event.ref, 'refs/tags')
run: | run: |
cp modules/*_module/build/libs/*.jar artifacts/modules || true
cp modules/*_lmodule/build/libs/*.jar artifacts/lmodules || true
cp modules/*_swmodule/build/libs/*.jar artifacts/swmodules || true
cd artifacts cd artifacts
zip -9 LauncherBase.zip libraries.zip LaunchServer.jar zip -9 LauncherBase.zip libraries.zip LaunchServer.jar
cd lmodules zip -j -9 LaunchServerModules.zip ../modules/*_module/build/libs/*.jar
zip -9 ../LauncherModules.zip * zip -j -9 LauncherModules.zip ../modules/*_lmodule/build/libs/*.jar
cd ../modules zip -j -9 ServerWrapperModules.zip ../modules/*_swmodule/build/libs/*.jar
zip -9 ../LaunchServerModules.zip *
cd ../swmodules
zip -9 ../ServerWrapperModules.zip *
cd ..
- name: Create release - name: Create release
id: create_release id: create_release