mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
R8混淆构建失败时上传missing_rules.txt
This commit is contained in:
parent
5e2dc2972d
commit
d3d65b0416
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
||||
echo "开始${{ env.product }}$typeName构建"
|
||||
chmod +x gradlew
|
||||
./gradlew assemble${{ env.product }}release --build-cache --parallel --daemon --warning-mode all
|
||||
- name: Rename outputs apks And Move mapping files
|
||||
- name: Rename outputs apks And Move files
|
||||
run: |
|
||||
echo "修改APK文件名"
|
||||
mkdir -p ${{ github.workspace }}/apk/
|
||||
@ -104,6 +104,10 @@ jobs:
|
||||
for file in `ls ${{ github.workspace }}/app/build/outputs/mapping/*/mapping.txt`; do
|
||||
mv "$file" ${{ github.workspace }}/mapping/mapping.txt
|
||||
done
|
||||
echo "移动missing_rules.txt文件"
|
||||
for file in `ls ${{ github.workspace }}/app/build/outputs/mapping/*/missing_rules.txt`; do
|
||||
mv "$file" ${{ github.workspace }}/mapping/missing_rules.txt
|
||||
done
|
||||
- name: Upload App To Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@ -116,6 +120,12 @@ jobs:
|
||||
name: legado.${{ env.product }}.${{ env.type }}.mapping
|
||||
path: ${{ github.workspace }}/mapping/mapping.txt
|
||||
|
||||
- name: Upload Missing Rules File To Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: legado.${{ env.product }}.${{ env.type }}.mapping.missing_rules
|
||||
path: ${{ github.workspace }}/mapping/missing_rules.txt
|
||||
|
||||
lanzou:
|
||||
needs: [ prepare, build ]
|
||||
if: ${{ github.event_name != 'pull_request' && needs.prepare.outputs.lanzou == 'yes' }}
|
||||
|
Loading…
Reference in New Issue
Block a user