-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 935 Bytes
/
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
name: Build
on:
push:
workflow_dispatch:
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
- name: Build
run: ./gradlew build --stacktrace
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: test-results
path: processor/build/test-results/test
- name: Upload test reports
uses: actions/upload-artifact@v3
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@v3
with:
name: maven
path: build/.m2/repository