From 1ab10e505202cb3f511b1958aa67d43a8a9795cb Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 21 Feb 2024 07:08:39 -0500 Subject: [PATCH] Tentative WF for pushing ot Maven Central --- .../workflows/manual-promote-to-central.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/manual-promote-to-central.yml diff --git a/.github/workflows/manual-promote-to-central.yml b/.github/workflows/manual-promote-to-central.yml new file mode 100644 index 00000000..6e004318 --- /dev/null +++ b/.github/workflows/manual-promote-to-central.yml @@ -0,0 +1,28 @@ +name: Manual push to central + +on: + workflow_dispatch: + inputs: + buildName: + description: 'The Artifactory Build Name' + required: true + type: string + buildNumber: + description: 'The Artifactory Build Number' + required: true + type: string + +jobs: + push-to-manen-central: + uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-promote-central.yml@main + with: + buildName: ${{ inputs.buildName }} + buildNumber: ${{ inputs.buildNumber }} + secrets: + JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }} + OSSRH_URL: ${{ secrets.OSSRH_URL }} + OSSRH_S01_TOKEN_USERNAME: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }} + OSSRH_S01_TOKEN_PASSWORD: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }} + OSSRH_STAGING_PROFILE_NAME: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} \ No newline at end of file