From f8db70a500ee3ff01995ac15f6d097bb85ae5630 Mon Sep 17 00:00:00 2001 From: inv2004 Date: Sun, 24 Jan 2021 23:14:57 +0300 Subject: [PATCH] fix pwsh 2 --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8051da4..b35ebfa1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,13 +13,13 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build 5.x - shell: pwsh + # shell: pwsh 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