Disable Diawi when running from fork (#292)
This commit is contained in:
parent
4154a96b54
commit
f0b95d30be
1 changed files with 5 additions and 3 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -42,12 +42,14 @@ jobs:
|
||||||
app/build/outputs/apk/debug/*.apk
|
app/build/outputs/apk/debug/*.apk
|
||||||
- uses: rnkdsh/action-upload-diawi@v1.3.2
|
- uses: rnkdsh/action-upload-diawi@v1.3.2
|
||||||
id: diawi
|
id: diawi
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
env:
|
||||||
with:
|
|
||||||
token: ${{ secrets.DIAWI_TOKEN }}
|
token: ${{ secrets.DIAWI_TOKEN }}
|
||||||
|
if: ${{ github.event_name == 'pull_request' && env.token != '' }}
|
||||||
|
with:
|
||||||
|
token: ${{ env.token }}
|
||||||
file: app/build/outputs/apk/debug/app-arm64-v8a-debug.apk
|
file: app/build/outputs/apk/debug/app-arm64-v8a-debug.apk
|
||||||
- name: Add or update PR comment with QR Code to download APK.
|
- name: Add or update PR comment with QR Code to download APK.
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request' && steps.diawi.conclusion == 'success' }}
|
||||||
uses: NejcZdovc/comment-pr@v2
|
uses: NejcZdovc/comment-pr@v2
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue