-
Notifications
You must be signed in to change notification settings - Fork 12
38 lines (36 loc) · 1.1 KB
/
main-build.yml
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
name: "Main Build"
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- id: setup-java-17
name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 17
- uses: burrunan/[email protected]
with:
remote-build-cache-proxy-enabled: false
arguments: build --stacktrace
properties: |
org.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}
- uses: burrunan/[email protected]
with:
remote-build-cache-proxy-enabled: false
arguments: snapshot --stacktrace
properties: |
org.gradle.java.installations.paths=${{ steps.setup-java-17.outputs.path }}
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}