Skip to content

Commit e673de2

Browse files
authored
Merge pull request #102 from IABTechLab/swi-UID2-7002-sdk-publish-gate
UID2-7002 Add approve-publish step
2 parents 33f18f2 + 19ddc66 commit e673de2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build-and-publish.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,16 @@ on:
2424
default: true
2525

2626
jobs:
27+
approve-publish:
28+
name: Approve publish
29+
runs-on: ubuntu-latest
30+
environment: sdk-publish-approval
31+
steps:
32+
- run: echo "Publish approved"
33+
2734
build-and-pubish:
2835
name: Build and publish JAR packages to Maven repository
36+
needs: approve-publish
2937
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-maven-versioned.yaml@v3
3038
with:
3139
release_type: ${{ inputs.release_type }}

0 commit comments

Comments
 (0)