Skip to content

Commit

Permalink
schemas.yml: make it use v1.x images
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored Jan 25, 2024
1 parent e19bab4 commit eba2bb2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,7 @@ jobs:
- if: steps.validate.outcome == 'success'
name: Update schema
run: |
if [ "${HAYSTACK_REF}" == "v1.x" ]; then
export HAYSTACK_REF="main"
fi
docker run -t -v "${PWD}:/haystack-json-schema" "docker.io/deepset/haystack:base-cpu-${HAYSTACK_REF}" python /haystack-json-schema/.github/utils/generate_json_schema.py
if [ "${HAYSTACK_REF}" == "main" ]; then
export HAYSTACK_REF="v1.x"
fi
- if: steps.validate.outcome == 'success'
name: Commit files
Expand Down

0 comments on commit eba2bb2

Please sign in to comment.