-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1.09 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
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
pull-requests: write
jobs:
build_test_report:
name: Build → Test → Report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-java
- uses: ./.github/actions/setup-gradle
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Build
run: ./gradlew build --stacktrace
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-results
path: processor/build/test-results/test
- name: Upload test reports
uses: actions/upload-artifact@v4
with:
name: test-reports
path: processor/build/reports/tests/test
- name: Build Maven artifact
run: ./gradlew publishAllPublicationsToMavenLocalRepository --stacktrace
- name: Upload Maven artifact
uses: actions/upload-artifact@v4
with:
name: maven
path: build/.m2/repository