Skip to content

v0.75.1

v0.75.1 #276

Workflow file for this run

name: Publish
on:
release:
types: [ published ]
env:
SDK_VERSION_NAME: ${{ github.ref_name }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- name: Build
run: ./gradlew build
- name: Publish to Maven Repository
run: |
eval $(ssh-agent -s)
ssh-add - <<< "${{ secrets.MAVEN_DEPLOY }}"
./github_release.sh
- name: Publish to GitHub Packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew publishAllPublicationsToGitHubPackagesRepository
- name: Generate documentation
run: ./gradlew dokkaHtmlMultiModule
- name: Deploy documentation
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs