Compare commits
No commits in common. "0f5dcf99791bf44450b3353e952bf5d9523eda08" and "6eafb5ec26ae032112d250588e1bdf4f822b4fe8" have entirely different histories.
0f5dcf9979
...
6eafb5ec26
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -1,22 +0,0 @@
|
|||||||
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
39
.github/workflows/pages.yml
vendored
@ -1,39 +0,0 @@
|
|||||||
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
27
.github/workflows/publish.yml
vendored
@ -1,27 +0,0 @@
|
|||||||
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