Skip to content

Commit

Permalink
Webrtc 2359 (#361)
Browse files Browse the repository at this point in the history
* Autogenerated API docs - initial gradle setup

* Autogenerated API docs - updated descriptions

* Added package-level documentation for Dokka

* Autogenerated API docs - updated markdowns

* Autogenerated API docs - github action

* Autogenerated API docs - dokka configuration updated

* Autogenerated API docs - github action

* Autogenerated API docs - github action updated

* Autogenerated API docs - github action updated

---------

Co-authored-by: openhands <[email protected]>
  • Loading branch information
wojciechowskiradek and openhands-agent authored Nov 29, 2024
1 parent b29865d commit b7a7384
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
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

0 comments on commit b7a7384

Please sign in to comment.