We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5d4b6 commit 7c19c43Copy full SHA for 7c19c43
.github/workflows/push-to-central.yaml
@@ -0,0 +1,26 @@
1
+name: Push To Maven Central
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-22.04
10
+ steps:
11
+ - uses: actions/checkout@v6
12
+ - uses: actions/setup-java@v5
13
+ with:
14
+ java-version: 21
15
+ distribution: 'zulu'
16
+ - name: Set up Node.js 24
17
+ uses: actions/setup-node@v6
18
19
+ node-version: '24'
20
21
+ - run: ./mill mill.javalib.SonatypeCentralPublishModule/
22
+ env:
23
+ MILL_PGP_SECRET_BASE64: ${{ secrets.MILL_PGP_SECRET_BASE64 }}
24
+ MILL_PGP_PASSPHRASE: ${{ secrets.MILL_PGP_PASSPHRASE }}
25
+ MILL_SONATYPE_USERNAME: ${{ secrets.MILL_SONATYPE_USERNAME }}
26
+ MILL_SONATYPE_PASSWORD: ${{ secrets.MILL_SONATYPE_PASSWORD }}
0 commit comments