Skip to content

feat: throw exception when trying to attach on released channel #365

feat: throw exception when trying to attach on released channel

feat: throw exception when trying to attach on released channel #365

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: '11'
distribution: 'adopt'
- 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