File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,14 +41,28 @@ jobs:
4141 with :
4242 ndk-version : r27c
4343
44- - name : Build and package
44+ - name : Build release and package
4545 env :
4646 ANDROID_NDK_HOME : ${{ steps.ndk.outputs.ndk-path }}
4747 run : bash package.sh --no-bump
4848
49- - name : Upload artifact
49+ - name : Upload release ZIP
5050 uses : actions/upload-artifact@v4
5151 with :
52- name : TA_enhanced-${{ github.sha }}
52+ name : TA_enhanced-release- ${{ github.sha }}
5353 path : release/*.zip
5454 retention-days : 30
55+
56+ - name : Build debug binaries
57+ env :
58+ ANDROID_NDK_HOME : ${{ steps.ndk.outputs.ndk-path }}
59+ run : bash rust/build.sh debug
60+
61+ - name : Upload debug binaries
62+ uses : actions/upload-artifact@v4
63+ with :
64+ name : TA_enhanced-debug-${{ github.sha }}
65+ path : |
66+ bin/arm64-v8a/ta-enhanced
67+ bin/armeabi-v7a/ta-enhanced
68+ retention-days : 30
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ for abi in "${!ABI_TARGET[@]}"; do
128128 mkdir -p " $dst_dir "
129129 cp " $src " " $dst_dir /ta-enhanced"
130130
131- if [ -n " $STRIP " ] && [ -x " $STRIP " ]; then
131+ if [ " $PROFILE " = " release " ] && [ -n " $STRIP " ] && [ -x " $STRIP " ]; then
132132 " $STRIP " " $dst_dir /ta-enhanced"
133133 fi
134134
You can’t perform that action at this time.
0 commit comments