Skip to content

release: v2.31.0 (#1758) #16

release: v2.31.0 (#1758)

release: v2.31.0 (#1758) #16

Workflow file for this run

name: Upload Github Pages
on:
push:
branches:
- main
defaults:
run:
shell: bash
permissions:
id-token: write
pages: write
env:
LC_ALL: C.UTF-8
jobs:
publish:
name: Publish
runs-on: [ self-hosted, Linux, medium, ephemeral ]
steps:
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Java
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0
- name: Compile SDK
run: ./gradlew compileJava --scan
- name: Generate Javadoc
run: ./gradlew sdk:javadoc -Dfile.encoding=UTF-8 --scan
- name: Pages
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: ./sdk/build/docs/javadoc
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@decdde0ac072f6dcbe43649d82d9c635fff5b4e4 # v4.0.4
with:
token: ${{ secrets.GITHUB_TOKEN }}