-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (33 loc) · 959 Bytes
/
gradle.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
# SPDX-License-Identifier: MIT
name: Java build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0
with:
distribution: temurin
java-version: 17
- name: "Build plugin"
run: ./gradlew test buildPlugin
- name: "Archive test results"
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: test-results
path: |
build/reports
retention-days: 14
- name: "Documentations"
run: ./gradlew asciidoc
- name: "Archive documentation"
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: documentation
path: |
build/docs/asciidoc
retention-days: 14