diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 29bcdc237..9daf85bca 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -56,7 +56,7 @@ jobs: curl https://raw.githubusercontent.com/ror-community/ror-schema/schema-v2/ror_schema.json -o ror_schema.json curl https://raw.githubusercontent.com/ror-community/ror-schema/schema-v2/ror_schema_v2_0.json -o ror_schema_v2_0.json ls ../files/ - if [[ ${{ github.event.inputs.schema-version == 'v1' }} ]]; then + if [[ ${{ github.event.inputs.schema-version }} == 'v1' ]]; then echo "validating v1" if [[ ${{ github.event.inputs.skip-geonames }} == true ]]; then if [[ ${{ github.event.inputs.with-relationship }} == true ]]; then @@ -80,7 +80,7 @@ jobs: fi fi fi - if [[ ${{ github.event.inputs.schema-version == 'v2' }} ]]; then + if [[ ${{ github.event.inputs.schema-version }} == 'v2' ]]; then echo "validating v2" if [[ ${{ github.event.inputs.skip-geonames }} == true ]]; then if [[ ${{ github.event.inputs.with-relationship }} == true ]]; then