From 75d626b2a14f3bd66597febe39d2bae38f4a6a62 Mon Sep 17 00:00:00 2001 From: inv2004 Date: Mon, 25 Jan 2021 00:02:05 +0300 Subject: [PATCH] fix zip name --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3228dc16..6c838a29 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,12 +30,13 @@ jobs: Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP - name: Build 7.x run: | - $BUILD_DIR = "Sophia-PS7-" + $BUILD_DIR = "Sophia-" if ($env:GITHUB_REF -eq "refs/heads/master") { $BUILD_DIR += "master" } else { $BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ } + $BUILD_DIR += "-PS7" $ZIP="$BUILD_DIR.zip" mkdir $BUILD_DIR echo $BUILD_DIR @@ -47,12 +48,13 @@ jobs: Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP - name: Build LTSC run: | - $BUILD_DIR = "Sophia-LTSC-" + $BUILD_DIR = "Sophia-" if ($env:GITHUB_REF -eq "refs/heads/master") { $BUILD_DIR += "master" } else { $BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ } + $BUILD_DIR += "-LTSC" $ZIP="$BUILD_DIR.zip" mkdir $BUILD_DIR echo $BUILD_DIR