Merge pull request #52 from SteveKunG/1.20 #99
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
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
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 artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts | |
path: build/libs |