forked from IrisShaders/Iris
-
Notifications
You must be signed in to change notification settings - Fork 58
36 lines (28 loc) · 846 Bytes
/
build.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
# This workflow will build a Java project with Brachyra
# For more information see: docs/development/brachyura.md
name: Java CI with Brachyura
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache Brachyura directory
uses: actions/cache@v2
with:
path: |
.brachyura
~/.brachyura
key: ${{ runner.os }}-brachyura-${{ hashFiles('**/Buildscript.java') }}
restore-keys: ${{ runner.os }}-brachyura
- name: Build with Brachyura
run: java -jar brachyura-bootstrap-0.jar build
- name: Upload built JAR
uses: actions/upload-artifact@v3
with:
name: iris-artifacts
path: build/libs