Merge pull request #737 from stenzek/pull-request-ci
CI: Disable Android signing on pull requests
This commit is contained in:
commit
367b5ad5ff
|
@ -189,6 +189,7 @@ jobs:
|
||||||
./gradlew assembleRelease
|
./gradlew assembleRelease
|
||||||
|
|
||||||
- name: Sign APK
|
- name: Sign APK
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
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
|
||||||
|
@ -198,12 +199,14 @@ jobs:
|
||||||
keyPassword: ${{ secrets.APK_KEY_PASSWORD }}
|
keyPassword: ${{ secrets.APK_KEY_PASSWORD }}
|
||||||
|
|
||||||
- name: Rename APK
|
- name: Rename APK
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd android
|
cd android
|
||||||
mv app/build/outputs/apk/release/app-release-unsigned-signed.apk ../duckstation-android-aarch64.apk
|
mv app/build/outputs/apk/release/app-release-unsigned-signed.apk ../duckstation-android-aarch64.apk
|
||||||
|
|
||||||
- name: Upload APK
|
- name: Upload APK
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: "android"
|
name: "android"
|
||||||
|
|
Loading…
Reference in New Issue