Properly Build Spectra via ShadowProver in GH Action

This commit is contained in:
Brandon Rozek 2023-03-30 16:06:05 -04:00 committed by GitHub
commit b764b53c3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,17 +10,25 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '17'
distribution: 'temurin'
- name: Install ShadowProver
run: |
git clone https://github.com/rairlab/shadowprover
cd shadowprover
mvn package install
- name: Checkout Spectra
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Build With Maven
run: mvn package