Skip to content

Commit 812997f

Browse files
committed
Add central manual release workflow
1 parent b63aab0 commit 812997f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Central Sync Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
stagedRepositoryId:
7+
description: "Staged repository id"
8+
required: true
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
15+
# Request release promotion repo
16+
- uses: jvalkeal/nexus-sync@v0
17+
with:
18+
url: ${{ secrets.OSSRH_URL }}
19+
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
20+
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
21+
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
22+
staging-repo-id: ${{ github.event.inputs.stagedRepositoryId }}
23+
release: true

0 commit comments

Comments
 (0)