Skip to content

Commit 7c19c43

Browse files
Bump to 0.6.2 and add push to mvn workflow (#653)
1 parent 0e5d4b6 commit 7c19c43

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
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

Comments
 (0)