We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9a0ba commit d0a25a8Copy full SHA for d0a25a8
.github/workflows/central-sync.yml
@@ -0,0 +1,26 @@
1
+name: Maven Central Sync
2
+on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ release_version:
6
+ description: 'Release version (eg: 1.2.3)'
7
+ required: true
8
+jobs:
9
+ central-sync:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v2
14
+ with:
15
+ ref: v${{ github.event.inputs.release_version }}
16
+ - uses: gradle/wrapper-validation-action@v1
17
+ - name: Set up JDK
18
+ uses: actions/setup-java@v1
19
20
+ java-version: 1.8
21
+ - name: Syncs with Maven Central/Sonatype
22
+ env:
23
+ BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
24
+ BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
25
+ run: |
26
+ ./gradlew synchronizeWithMavenCentral --no-daemon
0 commit comments