We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3585d3 commit b212faeCopy full SHA for b212fae
1 file changed
.github/workflows/publish-openapi.yaml
@@ -8,14 +8,18 @@ on:
8
- "master"
9
10
jobs:
11
- publish-openapi:
+ checkout-submodules:
12
+ runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v4
15
with:
16
submodules: recursive
- - 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
+
+ publish-openapi:
+ needs: checkout-submodules
+ uses: hmcts/workflow-publish-openapi-spec/.github/workflows/publish-openapi.yml@v1
+ secrets:
22
+ SWAGGER_PUBLISHER_API_TOKEN: ${{ secrets.SWAGGER_PUBLISHER_API_TOKEN }}
23
+ with:
24
+ test_to_run: 'uk.gov.hmcts.cp.openapi.OpenAPIPublisherTest'
25
+ java_version: 21
0 commit comments