Merge pull request #737 from stenzek/pull-request-ci

CI: Disable Android signing on pull requests
This commit is contained in:
Connor McLaughlin 2020-08-11 03:58:20 +10:00 committed by GitHub
commit 367b5ad5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -189,6 +189,7 @@ jobs:
./gradlew assembleRelease
- name: Sign APK
if: github.ref == 'refs/heads/master'
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: android/app/build/outputs/apk/release
@ -198,12 +199,14 @@ jobs:
keyPassword: ${{ secrets.APK_KEY_PASSWORD }}
- name: Rename APK
if: github.ref == 'refs/heads/master'
shell: bash
run: |
cd android
mv app/build/outputs/apk/release/app-release-unsigned-signed.apk ../duckstation-android-aarch64.apk
- name: Upload APK
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v1
with:
name: "android"