First pass #4673
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |