mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] GitHub Actions - Правки и оптимизации (#520)
* [FIX] GitHub Actions - Вернул Release.zip * [FIX] GitHub Actions - Доработал LauncherBase.zip Так всё ж куда проще, лол * [FIX] GitHub Actions - фикс захода в папку * [FIX] GitHub Actions - Немножко оптимизации
This commit is contained in:
parent
baf2997089
commit
a1284ff9cb
1 changed files with 8 additions and 9 deletions
15
.github/workflows/push.yml
vendored
15
.github/workflows/push.yml
vendored
|
@ -30,14 +30,12 @@ jobs:
|
|||
- name: Create artifacts
|
||||
run: |
|
||||
mkdir -p artifacts/modules
|
||||
cd LaunchServer/build/libs/
|
||||
cd LaunchServer/build/libs
|
||||
zip -r -9 ../../../artifacts/libraries.zip * -x "LaunchServer.jar" -x "LaunchServer-clean.jar"
|
||||
cp LaunchServer.jar ../../../artifacts/LaunchServer.jar
|
||||
cd ../../../ServerWrapper/build/libs
|
||||
cp ServerWrapper.jar ../../../artifacts/ServerWrapper.jar
|
||||
cd ../../../LauncherAuthlib/build/libs
|
||||
cp LauncherAuthlib.jar ../../../artifacts/LauncherAuthlib.jar
|
||||
cd ../../../
|
||||
cd ../../..
|
||||
cp ServerWrapper/build/libs/ServerWrapper.jar artifacts/ServerWrapper.jar
|
||||
cp LauncherAuthlib/build/libs/LauncherAuthlib.jar artifacts/LauncherAuthlib.jar
|
||||
cp modules/*_module/build/libs/*.jar artifacts/modules || true
|
||||
cp modules/*_lmodule/build/libs/*.jar artifacts/modules || true
|
||||
|
||||
|
@ -55,10 +53,11 @@ jobs:
|
|||
if: startsWith(github.event.ref, 'refs/tags')
|
||||
run: |
|
||||
cd artifacts
|
||||
zip -9 LauncherBase.zip libraries.zip LaunchServer.jar
|
||||
zip -r -9 Release.zip *
|
||||
zip -j -9 LaunchServerModules.zip ../modules/*_module/build/libs/*.jar
|
||||
zip -j -9 LauncherModules.zip ../modules/*_lmodule/build/libs/*.jar
|
||||
zip -j -9 ServerWrapperModules.zip ../modules/*_swmodule/build/libs/*.jar || true
|
||||
cd ../LaunchServer/build/libs
|
||||
zip -r -9 ../../../artifacts/LauncherBase.zip * -x "LaunchServer-clean.jar"
|
||||
|
||||
- name: Create release
|
||||
id: create_release
|
||||
|
|
Loading…
Reference in a new issue