-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request app will not be signed Push to repository bransh will only sign apk
- Loading branch information
1 parent
f84d803
commit 4e672fb
Showing
5 changed files
with
87 additions
and
24 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
# Original at https://github.com/tyron12233/CodeAssist/blob/main/.github/workflows/build-apk.yml | ||
# Changes: Minor adjustments, removal of Cancel previous runs step, but every change can be found with a simple diff. | ||
|
||
name: Android CI[PR] | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
buildApkFile: | ||
name: Build Debug APK | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
|
||
- name: Allow gradlew permission | ||
run: chmod +x ./gradlew | ||
|
||
- name: Build debug APK | ||
run: ./gradlew assembleDebug --warning-mode all | ||
|
||
- name: Upload debug APK | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Android Code Editor Debug Apk | ||
path: app/build/outputs/apk/debug | ||
- name: Upload editor aar debug | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Editor Debug Aar | ||
path: editor/build/outputs/aar/editor-debug.aar |
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
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
Binary file not shown.