Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit ac348fd

Browse files
authored
Use the release environment to delay publishing after stage
1 parent 1c931a1 commit ac348fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
publishToSonatype
5454
closeSonatypeStagingRepository
5555
release:
56+
environment: release
5657
needs: publish
5758
runs-on: ubuntu-latest
5859
permissions:
@@ -90,6 +91,7 @@ jobs:
9091
env:
9192
SNAPSHOT_SUFFIX: -SNAPSHOT
9293
docs:
94+
environment: release
9395
needs: publish
9496
runs-on: ubuntu-latest
9597
permissions:

0 commit comments

Comments
 (0)