Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webrtc 2359 #361

Merged
merged 10 commits into from
Nov 29, 2024
50 changes: 50 additions & 0 deletions .github/workflows/api_reference_refresh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: API reference refresh

## Action that will be executed manually
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
dokka:
name: Generate API documentation
runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]

- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'zulu'

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Update Username from Secrets
env:
MOCK_USERNAME: ${{ secrets.TELNYX_SIP_USER }}
run: echo MOCK_USERNAME="$MOCK_USERNAME" > ./local.properties

- name: Add new line
run: echo -e "\n" >> ./local.properties

- name: Update Password from Secrets
env:
MOCK_PASSWORD: ${{ secrets.TELNYX_SIP_PASSWORD }}
run: echo MOCK_PASSWORD="$MOCK_PASSWORD" >> ./local.properties

- name: Clean
run: ./gradlew clean

- name: Read local.properties
id: properties
uses: juliangruber/read-file-action@v1
with:
path: ./local.properties
- name: Echo local.properties
run: echo "${{ steps.package.outputs.content }}"

- name: Generate documentation with Dokka
run: ./gradlew dokkaHtml
1 change: 1 addition & 0 deletions telnyx-webrtc-android
Submodule telnyx-webrtc-android added at 9c07e5
Loading