feat(CI): run minimal-versions only on release tag

This commit is contained in:
Saber Haj Rabiee
2025-05-17 10:41:08 -07:00
parent e1549c5ab3
commit 0e65034b01
4 changed files with 43 additions and 147 deletions

View File

@@ -168,6 +168,10 @@ jobs:
run: |
cd '${{ inputs.directory }}'
cargo make --no-workspace --profile=github-actions ci
# check the direct-minimal-versions on release
if [[ "${{ github.ref_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
cargo make --no-workspace --profile=github-actions check-minimal-versions
fi
# Check if the counter_isomorphic can be built with leptos_debuginfo cfg flag in release mode
- name: ${{ inputs.cargo_make_task }} with --cfg=leptos_debuginfo
if: contains(inputs.directory, 'counter_isomorphic')