summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-24 22:54:36 +0800
committerruki <[email protected]>2024-05-24 22:54:36 +0800
commit81a0874e72d4ee1f0e7a483b30d2780b12317346 (patch)
tree5c23650096fb3268d81031d3e151853e2b313571
parentd8818c5b0ed26cae8ebb3d03be1628b32d192bbc (diff)
improve ci
-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 b667f3e81..00dc6c4c9 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -126,7 +126,7 @@ jobs:
# publish release
- name: Publish
- if: github.event.action == 'published'
+ if: github.event.action == 'published' && matrix.os == 'windows-2022'
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -137,7 +137,7 @@ jobs:
asset_content_type: application/zip
- name: Publish
- if: github.event.action == 'published'
+ if: github.event.action == 'published' && matrix.os == 'windows-2022'
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -148,7 +148,7 @@ jobs:
asset_content_type: application/zip
- name: Publish
- if: github.event.action == 'published'
+ if: github.event.action == 'published' && matrix.os == 'windows-2022'
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}