mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
fix uploading Android APK to server
This commit is contained in:
parent
1451614cf2
commit
456ede5b17
6
.github/workflows/github.yml
vendored
6
.github/workflows/github.yml
vendored
@ -237,7 +237,11 @@ jobs:
|
||||
if: ${{ (matrix.pack == 1 || startsWith(matrix.platform, 'android')) && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/features/')) && matrix.platform != 'msvc' }}
|
||||
continue-on-error: true
|
||||
run: |
|
||||
cd '${{github.workspace}}/android/vcmi-app/build/outputs/apk/daily' || cd '${{github.workspace}}/out/build/${{matrix.preset}}'
|
||||
if cd '${{github.workspace}}/android/vcmi-app/build/outputs/apk/daily' ; then
|
||||
mv '${{ env.ANDROID_APK_PATH }}' "$VCMI_PACKAGE_FILE_NAME.${{ matrix.extension }}"
|
||||
else
|
||||
cd '${{github.workspace}}/out/build/${{matrix.preset}}'
|
||||
fi
|
||||
source '${{github.workspace}}/CI/upload_package.sh'
|
||||
env:
|
||||
DEPLOY_RSA: ${{ secrets.DEPLOY_RSA }}
|
||||
|
Loading…
Reference in New Issue
Block a user