-
Notifications
You must be signed in to change notification settings - Fork 23
41 lines (38 loc) · 1.09 KB
/
release.yml
File metadata and controls
41 lines (38 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Release to Maven Central
on:
push:
tags:
- 'v*'
env:
GO_VERSION: 1.25.10
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Free up disk space
uses: ./.github/actions/free-disk-space
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
- name: Setup Java 8
uses: actions/setup-java@v5
with:
java-version: '8'
distribution: 'temurin'
server-id: central-portal
server-username: MAVEN_CENTRAL_USERNAME
server-password: MAVEN_CENTRAL_PASSWORD
gpg-private-key: ${{ secrets.SIGNINGKEY }}
gpg-passphrase: SIGNINGPASSWORD
- name: Build
run: make build-all
- name: Maven Release
run: make maven-deploy
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
SIGNINGPASSWORD: ${{ secrets.SIGNINGPASSWORD }}