From 0e0f127d93f9517ad0f3d94fcb166a294e922f73 Mon Sep 17 00:00:00 2001 From: vincent-the-gamer <1127620453@qq.com> Date: Wed, 17 Jan 2024 22:03:51 +0800 Subject: [PATCH] fix: CI. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59cc78f..2022f98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: - name: release for macOS uses: softprops/action-gh-release@v1 if: | - startsWith(github.ref, 'refs/tags/') + startsWith(github.ref, 'refs/tags/') && matrix.os == 'macos-latest' with: files: "out/make/**" @@ -84,7 +84,7 @@ jobs: - name: release for Window uses: softprops/action-gh-release@v1 if: | - startsWith(github.ref, 'refs/tags/') + startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest' with: files: "out/make/zip/win32/x64/**"