From 71de550db41c4de7d98c6b4348be4a9f14d29175 Mon Sep 17 00:00:00 2001 From: inv2004 Date: Sun, 24 Jan 2021 23:09:41 +0300 Subject: [PATCH] fix base dir name --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 455bfc33..8455f016 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,11 @@ jobs: - uses: actions/checkout@v2 - name: Build 5.x run: | + $BUILD_DIR = "Sophia-" if ($env:GITHUB_REF -eq "refs/heads/master") { - $BUILD_DIR = "master" + $BUILD_DIR .= "master" } else { - $BUILD_DIR = ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ + $BUILD_DIR .= ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ } Get-ChildItem Env: mkdir $BUILD_DIR