fix: android build and deployment flows #61
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: ci-nym-vpn-android | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- "nym-vpn-android/**" | ||
jobs: | ||
check: | ||
runs-on: ubuntu-22.04-arc | ||
defaults: | ||
run: | ||
working-directory: nym-vpn-android | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
nym-vpn-android | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
cache: gradle | ||
- name: Install unzip | ||
run: sudo apt-get update && sudo apt-get install -y unzip | ||
- name: Setup Android SDK | ||
uses: android-actions/setup-android@v3 | ||
- name: Install NDK | ||
run: sdkmanager "ndk;26.3.11579264" | ||
- name: Run ktlint | ||
run: ./gradlew ktlintCheck | ||
- name: Run detekt | ||
run: ./gradlew detekt --info | ||
build-nym-vpn-android: | ||
uses: ./.github/workflows/build-nym-vpn-android.yml | ||
Check failure on line 44 in .github/workflows/ci-nym-vpn-android.yml GitHub Actions / ci-nym-vpn-androidInvalid workflow file
|