mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
7d413ba883
commit
7f94c80784
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -93,15 +93,25 @@ jobs:
|
|||||||
./gradlew assemble${{ env.product }}release --build-cache --parallel --daemon --warning-mode all
|
./gradlew assemble${{ env.product }}release --build-cache --parallel --daemon --warning-mode all
|
||||||
echo "修改文件名"
|
echo "修改文件名"
|
||||||
mkdir -p ${{ github.workspace }}/apk/
|
mkdir -p ${{ github.workspace }}/apk/
|
||||||
|
mkdir -p ${{ github.workspace }}/mapping/
|
||||||
for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do
|
for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do
|
||||||
mv "$file" ${{ github.workspace }}/apk/legado_${{ env.product }}_${{ env.VERSIONL }}_$typeName.apk
|
mv "$file" ${{ github.workspace }}/apk/legado_${{ env.product }}_${{ env.VERSIONL }}_$typeName.apk
|
||||||
done
|
done
|
||||||
|
for file in `ls ${{ github.workspace }}/app/build/outputs/mapping/*/mapping.txt`; do
|
||||||
|
mv "$file" ${{ github.workspace }}/mapping/mapping.txt
|
||||||
|
done
|
||||||
- name: Upload App To Artifact
|
- name: Upload App To Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: legado.${{ env.product }}.${{ env.type }}
|
name: legado.${{ env.product }}.${{ env.type }}
|
||||||
path: ${{ github.workspace }}/apk/*.apk
|
path: ${{ github.workspace }}/apk/*.apk
|
||||||
|
|
||||||
|
- name: Upload Mapping File To Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: legado.${{ env.product }}.${{ env.type }}.mapping
|
||||||
|
path: ${{ github.workspace }}/mapping/mapping.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