mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-28 02:29:17 +00:00
infra: better conditional (#17197)
This commit is contained in:
parent
4ae91733aa
commit
f87acf0340
3
.github/workflows/_release.yml
vendored
3
.github/workflows/_release.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user