You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2026/04/27 11:13:16 UTC

(opendal) 01/01: ci: skip dotnet publish for rc tags

This is an automated email from the ASF dual-hosted git repository.

Xuanwo pushed a commit to branch xuanwo/fix-dotnet-release-rc-publish
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit ffb3fa60c09b666489ad88d2f19518d17f11f756
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Mon Apr 27 19:12:57 2026 +0800

    ci: skip dotnet publish for rc tags
---
 .github/workflows/release_dotnet.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/release_dotnet.yml b/.github/workflows/release_dotnet.yml
index e26f24020..99b6c8765 100644
--- a/.github/workflows/release_dotnet.yml
+++ b/.github/workflows/release_dotnet.yml
@@ -153,7 +153,7 @@ jobs:
 
   publish:
     name: Publish
-    if: ${{ startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.dotnet_publish) }}
+    if: ${{ (startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-')) || (github.event_name == 'workflow_dispatch' && inputs.dotnet_publish) }}
     runs-on: ubuntu-latest
     needs:
       - package