Skip to content

Commit

Permalink
Update build-apk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Sep 11, 2023
1 parent 27c229e commit 6a7d418
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,13 @@ jobs:
with:
node-version: 18.x
cache: pnpm
# - name: Set up JDK environment
# uses: actions/setup-java@v3
# with:
# distribution: 'temurin'
# java-version: '17'
# - name: Install SDKMAN
# run: |
# curl -s "https://get.sdkman.io" | bash
# source "$HOME/.sdkman/bin/sdkman-init.sh"
# sdk version
# - name: Install Kotlin 1.7.1 with SDKMAN
# run: |
# source "$HOME/.sdkman/bin/sdkman-init.sh"
# sdk install kotlin 1.7.1
- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Install dependencies
run: pnpm install
Expand All @@ -75,8 +68,9 @@ jobs:
run: npx expo prebuild -p android --clean
- name: Build apk
run: |
cd android/app
gradle assembleRelease
cd android
chmod +x ./gradlew
./gradle assembleRelease --no-daemon
## sign generated apk
- name: Sign APK
Expand Down

0 comments on commit 6a7d418

Please sign in to comment.