Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Trotsenko committed Jun 17, 2024
1 parent 39181c0 commit 20957fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: check

on:
push:
branches: master
branches: [ master ]
pull_request:
branches: master
branches: [ master ]
workflow_dispatch:

jobs:
Expand All @@ -13,12 +13,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Check all modules
run: ./gradlew check
8 changes: 7 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: documentation

on:
push:
branches: master
branches: [ master ]
workflow_dispatch:

permissions:
Expand All @@ -23,21 +23,27 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Generate documentation
run: ./gradlew dokkaHtmlMultiModule

- name: Setup Pages
uses: actions/configure-pages@v2

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './build/dokka/htmlMultiModule'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 20957fd

Please sign in to comment.