Skip to content

Commit 0baa208

Browse files
committed
github master branch flow fix;
1 parent f93444d commit 0baa208

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/publish-openapi.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ on:
99

1010
jobs:
1111
publish-openapi:
12-
uses: hmcts/workflow-publish-openapi-spec/.github/workflows/publish-openapi.yml@v1
13-
secrets:
14-
SWAGGER_PUBLISHER_API_TOKEN: ${{ secrets.SWAGGER_PUBLISHER_API_TOKEN }}
15-
with:
16-
test_to_run: 'uk.gov.hmcts.cp.openapi.OpenAPIPublisherTest'
17-
java_version: 21
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
submodules: recursive
16+
- uses: hmcts/workflow-publish-openapi-spec/.github/workflows/publish-openapi.yml@v1
17+
secrets:
18+
SWAGGER_PUBLISHER_API_TOKEN: ${{ secrets.SWAGGER_PUBLISHER_API_TOKEN }}
19+
with:
20+
test_to_run: 'uk.gov.hmcts.cp.openapi.OpenAPIPublisherTest'
21+
java_version: 21

0 commit comments

Comments
 (0)