diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4485a395..5a42a7dbf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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' }}