updated macos-latest to macos-latest-large because large is x64 based #459
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: Push Evaluation Client | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false # this is required for the javadoc deploy plugin | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
- name: Cache Maven packages | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-1 | |
- name: Build with Maven 📦 | |
run: | | |
mvn clean install -Pjava8-tests | |
mv ./matching-eval-client/target/matching-eval-client-*-SNAPSHOT.jar ./matching-eval-client-latest.jar | |
- name: Upload evaluation client 🚀 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: evaluation-client | |
path: matching-eval-client-latest.jar |