Set Java version for sbt
in transformation scripts (RPB-266)
#651
Workflow file for this run
This file contains hidden or 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 | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Install metafacture-core 7.0.0-rc1 | |
run: | | |
git clone https://github.com/metafacture/metafacture-core.git -b metafacture-core-7.0.0-rc1 | |
cd metafacture-core | |
touch .temp # don't build release, which requires signing | |
./gradlew publishToMavenLocal | |
cd .. | |
- name: Run tests | |
run: sbt "test-only tests.CITests" | |