updated Kotlin jitpack example #11
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: Run java-project | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ 'macos-latest', 'ubuntu-latest', 'windows-latest' ] | |
java: [ '11' ] | |
distribution: [ 'temurin' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2.4.0 | |
with: | |
fetch-depth: 0 | |
- name: Set up Java | |
uses: actions/setup-java@v2.5.0 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
- name: Print dependency tree | |
run: cd ./java-project && ./gradlew app:dependencies | |
- name: Build with Gradle | |
run: cd ./java-project && ./gradlew build | |
- name: Run the project | |
run: cd ./java-project && ./gradlew run --args="${PWD}/../datasets/Town01.xodr" |