fix(ktx): close socket when connection failed to avoid a leak of thread #176
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: 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 |