-
Notifications
You must be signed in to change notification settings - Fork 66
44 lines (38 loc) · 1.04 KB
/
drill-checks.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
name: Drill4J checks
on:
workflow_dispatch:
inputs:
drill-agent-enabled:
description: 'Drill Agent Enabled'
type: string
required: false
default: 'false'
jobs:
call-java-checks:
name: Call Java Checks
runs-on: 'rp-beta-runner-set'
env:
DRILL_AGENT_ENABLED: ${{ inputs.drill-agent-enabled }}
DRILL_API_URL: ${{ secrets.DRILL_API_URL }}
DRILL_API_KEY: ${{ secrets.DRILL_API_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 21
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
id: build
run: |
./gradlew build
continue-on-error: true
- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-report
path: build/reports/tests/test/index.html