-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (41 loc) · 932 Bytes
/
build.yml
File metadata and controls
47 lines (41 loc) · 932 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
44
45
46
47
name: Build
on:
pull_request:
paths-ignore:
- '.github/**'
- .gitignore
- 'LICENSE'
- '**.md'
push:
paths-ignore:
- '.github/**'
- '.gitignore'
- 'LICENSE'
- '**.md'
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Make gradlew executable
run: chmod +x gradlew
- name: Build with snapshot version
env:
SNAPSHOT: true
GITHUB_SHA: ${{ github.sha }}
run: ./gradlew build
- name: Upload jar
uses: actions/upload-artifact@v4
with:
name: "noctisui-${{ github.sha }}"
path: builds/