feat: throw exception when trying to attach on released channel #365
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: 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 |