Attempt to fix Maven Dependencies #143
Workflow file for this run
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: Test | |
on: | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Fetch all history for all tags and branches | |
- run: | | |
git fetch --prune --unshallow | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build artifact | |
run: sbt clean universal:packageZipTarball | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Identify artifact | |
id: identify_artifact | |
run: ./identify_artifact.sh | |
- name: Run tests | |
run: sbt test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish artifact | |
uses: actions/upload-artifact@v2-preview | |
if: success() | |
with: | |
name: ${{ steps.identify_artifact.outputs.artifact }} | |
path: ${{ steps.identify_artifact.outputs.path }} |