diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index b0cdc84f93..75fd52bb4c 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -472,7 +472,11 @@ jobs: Write-Host "✓ Copied libten_runtime_python.pyd.lib" - name: Publish release to TEN cloud store - if: github.event_name == 'release' || (github.ref != '' && startsWith(github.ref, 'refs/tags/')) && matrix.build_type == 'release' + if: | + (github.event_name == 'release' || + (github.ref != '' && startsWith(github.ref, 'refs/tags/'))) && + matrix.build_type == 'release' && + matrix.compiler == 'msvc' continue-on-error: true shell: pwsh run: | @@ -554,7 +558,11 @@ jobs: Write-Host "Publication summary: $SUCCESSFUL_PUBLISHES successful, $FAILED_PUBLISHES failed" - name: Clean up - if: github.event_name == 'release' || (github.ref != '' && startsWith(github.ref, 'refs/tags/')) && matrix.build_type == 'release' + if: | + (github.event_name == 'release' || + (github.ref != '' && startsWith(github.ref, 'refs/tags/'))) && + matrix.build_type == 'release' && + matrix.compiler == 'msvc' continue-on-error: true shell: pwsh run: |