-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (33 loc) · 898 Bytes
/
build.yml
File metadata and controls
43 lines (33 loc) · 898 Bytes
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
name: Build
on:
push:
branches: [ "develop", "hotfix/**" ]
pull_request:
branches: [ "develop", "hotfix/**" ]
run-name: Build+${{ github.run_number }} snapshot/${{ github.sha }}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: 🏗️ Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '23'
distribution: 'temurin'
cache: gradle
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build --full-stacktrace
- name: Upload artifacts
uses: actions/upload-artifact@v7
with:
name: Artifacts
path: build/libs/