Update dependency versions #57
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: Build | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: koalaplot-samples | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Validate Gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Checkout koalaplot-core | |
uses: actions/checkout@v3 | |
with: | |
repository: koalaplot/koalaplot-core | |
path: koalaplot-core | |
- name: Publish koalaplot-core to Maven Local | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: check publishToMavenLocal | |
build-root-directory: koalaplot-core | |
- name: Build koalaplot-samples | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
build-root-directory: koalaplot-samples | |
# jsBrowserWebpack in one step doesn't put skiko.wasm or skio.js in the distributions directory | |
- name: Build js koalaplot-samples | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: jsBrowserWebpack | |
build-root-directory: koalaplot-samples | |
- name: Build wasm koalaplot-samples | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: wasmjsBrowserDistribution | |
build-root-directory: koalaplot-samples |