-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 1.13 KB
/
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
39
40
41
42
43
44
45
name: Build Project
on:
push:
branches-ignore:
- 'dependabot/**'
tags:
- '*'
workflow_dispatch:
jobs:
CodeAudits:
uses: evanchooly/workflows/.github/workflows/code-audits.yml@master
Build:
uses: evanchooly/workflows/.github/workflows/build.yml@master
with:
saveBuild: true
Test:
needs:
- CodeAudits
- Build
strategy:
matrix:
gradle: [ 8.2.1, 8.1.1, 8.0.2, 7.6.2, 7.5, 7.4.2, 7.3.3, 7.2, 7.1.1, 7.0.2 ]
uses: evanchooly/workflows/.github/workflows/build.yml@master
with:
reuseBuild: true
maven-flags: "-Dgradle.version=${{ matrix.gradle }}"
Release:
if: github.ref_type == 'branch' || github.ref_type == 'tag'
needs:
- Build
- Test
uses: evanchooly/workflows/.github/workflows/release.yml@master
with:
java: 17
secrets:
GH_PUSH_TOKEN : ${{ secrets.GH_PUSH_TOKEN }}
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}