summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-13 00:59:59 +0800
committerruki <[email protected]>2021-01-13 00:59:59 +0800
commitbe039661f2607b4055ded52a626ce904fc854565 (patch)
tree10325ee36fc00ebc93702336ddd6e6b4bde7b797
parent3d07ce3aade93183600c1443175829a5a5fab9aa (diff)
fix ci
-rw-r--r--.github/workflows/windows.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 355d43f6a..290be340e 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -149,7 +149,7 @@ jobs:
uses: WyriHaximus/github-action-get-previous-tag@master
- name: Upload artifacts to lastest release
- if: ${{ env.GITHUB_REF_SLUG }} == 'dev' || ${{ env.GITHUB_REF_SLUG }} == 'master'
+ if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}