Skip to content

Commit

Permalink
github workflow action config
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Jiaxin committed Oct 11, 2024
1 parent 5f5d8ba commit 5b6b732
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/debug_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build
on:
push:
branches:
- master-x11-submodule
- master
pull_request:
branches:
- master-x11-submodule
- master
workflow_dispatch:

jobs:
Expand All @@ -20,6 +20,9 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v4
- with:
submodules: 'true'


- name: Build APKs
shell: bash {0}
Expand Down Expand Up @@ -55,7 +58,7 @@ jobs:
export TERMUX_APP_VERSION_NAME="${RELEASE_VERSION_NAME/v/}" # Used by app/build.gradle
export TERMUX_APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
export TERMUX_PACKAGE_VARIANT="${{ env.PACKAGE_VARIANT }}" # Used by app/build.gradle
if ! git submodule update --init --recursive && ./gradlew assembleDebug; then
if ! ./gradlew assembleDebug; then
exit_on_error "Build failed for '$APK_VERSION_TAG' build."
fi
Expand Down

0 comments on commit 5b6b732

Please sign in to comment.