Add Dokka source link, and publish snapshots from version branches #7
Workflow file for this run
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: 'API Check' | |
on: | |
pull_request: | |
branches: [ 'main' ] | |
jobs: | |
api-check: | |
name: 'API Check' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Binary Compatibility | |
run: ./gradlew apiCheck | |
- name: Documentation | |
if: success() || failure() | |
run: ./gradlew dokkaHtml |