Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mgz0227 authored Jan 30, 2024
1 parent 5be8f08 commit 22d01d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ jobs:
run: |
echo "ver_name=$(grep -m 1 'versionName' ${{ env.outputs_dir }}/apk/${{ env.product }}/release/output-metadata.json | cut -d\" -f4)" >> $GITHUB_ENV
echo "修改文件名"
for file in `ls ${{ github.workspace }}/app/build/outputs/apk/${{ env.product }}/release/*.apk`; do
mv "$file" ${{ github.workspace }}/apk/TTS-Server_${{ env.product }}_${{ env.ver_name }}.apk
mv "${{ github.workspace }}/app/build/outputs/apk/${{ env.product }}/release/*.apk" ${{ github.workspace }}/apk/TTS-Server_${{ env.product }}_${{ env.ver_name }}.apk
- name: Upload APK To Artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 22d01d5

Please sign in to comment.