Skip to content

Merge pull request #1043 from ably/fix/RTP6e-implicit-channel-attach #614

Merge pull request #1043 from ably/fix/RTP6e-implicit-channel-attach

Merge pull request #1043 from ably/fix/RTP6e-implicit-channel-attach #614

Workflow file for this run

name: JavaDoc
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
deployments: write
steps:
- uses: actions/checkout@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: eu-west-2
role-to-assume: arn:aws:iam::${{ secrets.ABLY_AWS_ACCOUNT_ID_SDK }}:role/ably-sdk-builds-ably-java
role-session-name: "${{ github.run_id }}-${{ github.run_number }}"
- name: Set up the JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build docs
run: ./gradlew javadoc
- name: Upload Documentation
uses: ably/sdk-upload-action@v2
with:
sourcePath: java/build/docs/javadoc
githubToken: ${{ secrets.GITHUB_TOKEN }}
artifactName: javadoc