CI: Force Android signing for test
This commit is contained in:
parent
df16444e35
commit
264c44502f
|
@ -216,7 +216,6 @@ jobs:
|
||||||
./gradlew assembleRelease
|
./gradlew assembleRelease
|
||||||
|
|
||||||
- name: Sign APK
|
- name: Sign APK
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
|
||||||
uses: r0adkll/sign-android-release@v1
|
uses: r0adkll/sign-android-release@v1
|
||||||
with:
|
with:
|
||||||
releaseDirectory: android/app/build/outputs/apk/release
|
releaseDirectory: android/app/build/outputs/apk/release
|
||||||
|
@ -226,14 +225,12 @@ jobs:
|
||||||
keyPassword: ${{ secrets.APK_KEY_PASSWORD }}
|
keyPassword: ${{ secrets.APK_KEY_PASSWORD }}
|
||||||
|
|
||||||
- name: Rename APK
|
- name: Rename APK
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd android
|
cd android
|
||||||
mv app/build/outputs/apk/release/app-release-unsigned-signed.apk ../duckstation-android.apk
|
mv app/build/outputs/apk/release/app-release-unsigned-signed.apk ../duckstation-android.apk
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: "android"
|
name: "android"
|
||||||
|
|
Loading…
Reference in New Issue