Skip to content

Commit e78e361

Browse files
committed
eli-225 updating github action
1 parent e02578d commit e78e361

File tree

1 file changed

+2
-2
lines changed
  • .github/actions/lint-and-validate-specification

1 file changed

+2
-2
lines changed

.github/actions/lint-and-validate-specification/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ runs:
3131
3232
- name: Lint OpenAPI Spec with Spectral
3333
shell: bash
34-
run: spectral lint --ruleset .spectral.yaml build/specification/eligibility-signposting-api.yaml
34+
run: spectral lint --ruleset .spectral.yaml build/specification/${{ inputs.apim-env }}/eligibility-signposting-api.yaml
3535

3636
- name: Validate OpenAPI Spec with Swagger CLI
3737
shell: bash
38-
run: swagger-cli validate build/specification/eligibility-signposting-api.yaml
38+
run: swagger-cli validate build/specification/${{ inputs.apim-env }}/eligibility-signposting-api.yaml

0 commit comments

Comments
 (0)