Skip to content

Commit 6d429e5

Browse files
committed
issue fixed
1 parent 11df02e commit 6d429e5

2 files changed

Lines changed: 3 additions & 21 deletions

File tree

.github/workflows/specshield-bdct.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ jobs:
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

@@ -27,20 +28,8 @@ jobs:
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 }}

.specshield.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ bdct:
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.
3326
github:
3427
specPath: openapi.yaml

0 commit comments

Comments
 (0)