This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
fix(deps): update kotlinx.coroutines to v1.8.0 #408
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: Build | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: Build | |
run: ./gradlew build | |
dokka: | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repository (master) | |
uses: actions/checkout@v4 | |
- name: Clone Repository (gh-pages) | |
run: git clone https://github.com/${{ github.repository }} -b gh-pages --depth 1 dokka || mkdir dokka | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: gradle | |
- name: Build | |
run: ./gradlew dokkaHtml | |
- name: Deploy to GitHub Pages | |
if: github.ref == 'refs/heads/master' | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dokka |