-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (36 loc) · 920 Bytes
/
ci.yaml
File metadata and controls
43 lines (36 loc) · 920 Bytes
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
42
43
name: build
on:
push:
branches:
- '**'
paths-ignore:
- 'gradle.properties'
- 'LICENSE'
- 'README.md'
- 'docs/**'
tags-ignore:
- 'v*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: set up JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: |
17
- name: build & publish (sonatype)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SIGN_KEY: ${{ secrets.SIGN_KEY }}
# SIGN_PWD: ${{ secrets.SIGN_PWD }}
ORG_GRADLE_PROJECT_signKey: |
${{ secrets.SIGN_KEY }}
ORG_GRADLE_PROJECT_signPwd: ${{ secrets.SIGN_PWD }}
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
run: ./gradlew build publishToMavenCentral --stacktrace
# -i -d