From e778eb01b692f706379e5d08a74e7bf90420f186 Mon Sep 17 00:00:00 2001 From: Andrew Molchanov Date: Fri, 24 Sep 2021 16:32:44 +0300 Subject: [PATCH] =?UTF-8?q?[FIX]=20GitHub=20Actions=20-=20=D0=9D=D0=B5?= =?UTF-8?q?=D0=BC=D0=BD=D0=BE=D0=B6=D0=BA=D0=BE=20=D0=BE=D0=BF=D1=82=D0=B8?= =?UTF-8?q?=D0=BC=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/push.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 32732d42..4ba9cb77 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 @@ -58,9 +56,8 @@ jobs: 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 - cd ../LaunchServer/build/libs/ + cd ../LaunchServer/build/libs zip -r -9 ../../../artifacts/LauncherBase.zip * -x "LaunchServer-clean.jar" - cd ../../.. - name: Create release id: create_release