Skip to content

Commit 19ddc66

Browse files
committed
add approve-publish step
1 parent 33f18f2 commit 19ddc66

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)