mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:17:25 +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构建"
|
echo "开始${{ env.product }}$typeName构建"
|
||||||
chmod +x gradlew
|
chmod +x gradlew
|
||||||
./gradlew assemble${{ env.product }}release --build-cache --parallel --daemon --warning-mode all
|
./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: |
|
run: |
|
||||||
echo "修改APK文件名"
|
echo "修改APK文件名"
|
||||||
mkdir -p ${{ github.workspace }}/apk/
|
mkdir -p ${{ github.workspace }}/apk/
|
||||||
@ -104,6 +104,10 @@ jobs:
|
|||||||
for file in `ls ${{ github.workspace }}/app/build/outputs/mapping/*/mapping.txt`; do
|
for file in `ls ${{ github.workspace }}/app/build/outputs/mapping/*/mapping.txt`; do
|
||||||
mv "$file" ${{ github.workspace }}/mapping/mapping.txt
|
mv "$file" ${{ github.workspace }}/mapping/mapping.txt
|
||||||
done
|
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
|
- name: Upload App To Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -116,6 +120,12 @@ jobs:
|
|||||||
name: legado.${{ env.product }}.${{ env.type }}.mapping
|
name: legado.${{ env.product }}.${{ env.type }}.mapping
|
||||||
path: ${{ github.workspace }}/mapping/mapping.txt
|
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:
|
lanzou:
|
||||||
needs: [ prepare, build ]
|
needs: [ prepare, build ]
|
||||||
if: ${{ github.event_name != 'pull_request' && needs.prepare.outputs.lanzou == 'yes' }}
|
if: ${{ github.event_name != 'pull_request' && needs.prepare.outputs.lanzou == 'yes' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user