Browse Source

fix base dir name

pull/125/head
inv2004 4 years ago
parent
commit
71de550db4
  1. 5
      .github/workflows/build.yml

5
.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

Loading…
Cancel
Save