Skip to content

fix(ktx): close socket when connection failed to avoid a leak of thread #176

fix(ktx): close socket when connection failed to avoid a leak of thread

fix(ktx): close socket when connection failed to avoid a leak of thread #176

Workflow file for this run

name: Android build
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Setup git config (for patch command)
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload library artifacts
uses: actions/upload-artifact@v4
with:
name: lib
path: lib/build/outputs/aar
- name: Upload APKs
uses: actions/upload-artifact@v4
with:
name: apks
path: |
examples/build/outputs/apk/debug/examples-debug.apk