From 93ceb1a2e0ad33361be3631ce29d4e89899f5ffb Mon Sep 17 00:00:00 2001 From: Nabin Date: Thu, 19 Jun 2025 15:03:28 -0400 Subject: [PATCH] fix: minor version fix1 --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1a0ff2d..1146ea5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,7 +29,8 @@ jobs: check-version: # Only run version check for manual releases - if: github.event_name == 'workflow_dispatch' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) + if: github.ref_name == github.event.repository.default_branch + # if: github.event_name == 'workflow_dispatch' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -63,6 +64,7 @@ jobs: needs: [test, check-version] if: needs.check-version.result == 'success' # For manual releases, also need version check ------ + # if: always() && needs.test.result == 'success' && (needs.check-version.result == 'success' || needs.check-version.result == 'skipped') runs-on: ubuntu-latest timeout-minutes: 30