summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-19 00:23:48 +0800
committerruki <[email protected]>2020-11-19 00:23:48 +0800
commit31248cdb8ff9a40e6662d6b2793cdfbad4599f78 (patch)
treeca6355c8945d4a078c883a55f16b326746403b11 /.github/workflows
parent3fbd631d547de67721f60ce38579c507ed705627 (diff)
fix ci for windows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/windows.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index a488baec8..c28656f42 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -65,10 +65,10 @@ jobs:
# build artifacts
- name: set release arch name
run: |
- if ("${{ matrix.arch }}" -eq "x64"){
- echo "RELEASE_NAME=win64" >> $GITHUB_ENV
+ if ("${{ matrix.arch }}" -eq "x64") {
+ Write-Output "RELEASE_NAME=win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
} else {
- echo "RELEASE_NAME=win32" >> $GITHUB_ENV
+ Write-Output "RELEASE_NAME=win32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
}
- name: artifact
run: |