Compare commits
8 Commits
6eafb5ec26
...
0f5dcf9979
Author | SHA1 | Date | |
---|---|---|---|
0f5dcf9979 | |||
601a16e420 | |||
|
7d0dcd1b91 | ||
|
b4b3ecc8d7 | ||
|
79f4d0eba5 | ||
|
390a896e0a | ||
234d4715b6 | |||
|
bd6d8e2f8e |
22
.github/workflows/build.yml
vendored
Normal file
22
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Gradle build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ dev ]
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.7
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v4.2.1
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
distribution: liberica
|
||||||
|
- name: execute build
|
||||||
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
|
with:
|
||||||
|
arguments: build
|
39
.github/workflows/pages.yml
vendored
Normal file
39
.github/workflows/pages.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
name: Dokka publication
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
distribution: liberica
|
||||||
|
- name: execute build
|
||||||
|
uses: gradle/gradle-build-action@v3
|
||||||
|
with:
|
||||||
|
arguments: dokkaHtmlMultiModule
|
||||||
|
- name: Setup Pages
|
||||||
|
uses: actions/configure-pages@v5
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
with:
|
||||||
|
path: 'build/dokka/htmlMultiModule'
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v4
|
27
.github/workflows/publish.yml
vendored
Normal file
27
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Gradle publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
release:
|
||||||
|
types: [ created ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
environment:
|
||||||
|
name: publish
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4.1.7
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v4.2.1
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
distribution: liberica
|
||||||
|
- name: execute build
|
||||||
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
|
- name: Publish
|
||||||
|
shell: bash
|
||||||
|
run: >
|
||||||
|
./gradlew release --no-daemon --build-cache -Ppublishing.enabled=true
|
||||||
|
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
|
||||||
|
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}
|
Loading…
Reference in New Issue
Block a user