From 58e3a5eec62e8f5cc8bb1a3f6fb1e52046807aee Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Mon, 5 Jun 2023 12:14:08 +0100 Subject: [PATCH] Add central close workflow --- .github/workflows/central-sync-close.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/central-sync-close.yml diff --git a/.github/workflows/central-sync-close.yml b/.github/workflows/central-sync-close.yml new file mode 100644 index 00000000..50ad269d --- /dev/null +++ b/.github/workflows/central-sync-close.yml @@ -0,0 +1,23 @@ +name: Central Sync Close + +on: + workflow_dispatch: + inputs: + stagedRepositoryId: + description: "Staged repository id" + required: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + + # Request release promotion repo + - uses: jvalkeal/nexus-sync@v0 + with: + url: ${{ secrets.OSSRH_URL }} + username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }} + password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }} + staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }} + staging-repo-id: ${{ github.event.inputs.stagedRepositoryId }} + close: true