-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 1.13 KB
/
build.yaml
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
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
name: Gradle Build and Deploy
on:
push:
branches-ignore: [ master, main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GHP_TOKEN }}
submodules: true
- uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.4.0
with:
gradle-version: release-candidate
cache-disabled: true
arguments: build --scan
- uses: actions/upload-artifact@v3
with:
name: build-reports
path: build/reports/