File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 - uses : specshield26/bdct-action@v1
1515 with :
1616 command : publish-provider
17+ org : abc_xyz
1718 provider : springboot-test-project
1819 version : ${{ github.sha }}
19- spec : api/ openapi.yaml
20+ spec : openapi.yaml
2021 env : production
2122 api-token : ${{ secrets.SPECSHIELD_API_KEY }}
2223
2728 - uses : specshield26/bdct-action@v1
2829 with :
2930 command : can-i-deploy
31+ org : abc_xyz
3032 service : springboot-test-project
3133 version : ${{ github.sha }}
3234 env : production
3335 api-token : ${{ secrets.SPECSHIELD_API_KEY }}
34-
35- publish-consumer :
36- runs-on : ubuntu-latest
37- steps :
38- - uses : actions/checkout@v4
39- - uses : specshield26/bdct-action@v1
40- with :
41- command : publish-consumer
42- consumer : springboot-test-project
43- provider : nothing
44- version : ${{ github.sha }}
45- contract : contracts/contract.yaml
46- api-token : ${{ secrets.SPECSHIELD_API_KEY }}
Original file line number Diff line number Diff line change 2222 spec : openapi.yaml
2323 branch : main
2424
25- # This project publishes a consumer contract.
26- consumer :
27- name : springboot-test-project
28- provider : nothing
29- contract : contracts/contract.yaml
30- format : OPENAPI
31-
3225# GitHub App + bdct-action defaults.
3326github :
3427 specPath : openapi.yaml
You can’t perform that action at this time.
0 commit comments