v0.73.0 #271
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |