Create dokka.yml #61
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 examples | |
on: | |
# Trigger the workflow on push or pull request, | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: { dir: [ | |
'examples/android', | |
'examples/java', | |
'examples/paginate' | |
] } | |
name: build Examples | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Mvn local install | |
run: | | |
./gradlew publishToMavenLocal | |
- name: Run Examples builds | |
run: | | |
./gradlew build | |
working-directory: ${{ matrix.dir }} |