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 ./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"