Skip to content

Automatically detect criteo IP address for checks #144

Automatically detect criteo IP address for checks

Automatically detect criteo IP address for checks #144

Workflow file for this run

---
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 }}