infra: better conditional (#17197)

This commit is contained in:
Erick Friis 2024-02-07 12:49:02 -08:00 committed by GitHub
parent 4ae91733aa
commit f87acf0340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,7 +182,6 @@ jobs:
working-directory: ${{ inputs.working-directory }}
- name: Get minimum versions
if: ${{ !startsWith(inputs.working-directory, 'libs/core') }}
working-directory: ${{ inputs.working-directory }}
id: min-version
run: |
@ -192,7 +191,7 @@ jobs:
echo "min-versions=$min_versions"
- name: Run unit tests with minimum dependency versions
if: ${{ !startsWith(inputs.working-directory, 'libs/core') }}
if: ${{ steps.min-version.outputs.min-versions != '' }}
env:
MIN_VERSIONS: ${{ steps.min-version.outputs.min-versions }}
run: |