Setup Diawi to comment Pull Request with a QrCode to download the APK
This commit is contained in:
parent
61f01f1f55
commit
223e264512
1 changed files with 16 additions and 0 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
|
@ -35,6 +35,22 @@ jobs:
|
||||||
name: elementx-debug
|
name: elementx-debug
|
||||||
path: |
|
path: |
|
||||||
app/build/outputs/apk/debug/app-debug.apk
|
app/build/outputs/apk/debug/app-debug.apk
|
||||||
|
- uses: rnkdsh/action-upload-diawi@v1.3.1
|
||||||
|
id: diawi
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.DIAWI_TOKEN }}
|
||||||
|
file: app/build/outputs/apk/debug/app-arm64-v8a-debug.apk
|
||||||
|
- name: Add or update PR comment with QR Code to download APK.
|
||||||
|
uses: NejcZdovc/comment-pr@v1
|
||||||
|
with:
|
||||||
|
message: |
|
||||||
|
:iphone: Scan the QR code below to install the build (arm64 only) for this PR.
|
||||||
|

|
||||||
|
If you can't scan the QR code you can install the build via this link: ${{ steps.diawi.outputs['url'] }}
|
||||||
|
# Enables to identify and update existing Ad-hoc release message on new commit in the PR
|
||||||
|
identifier: "GITHUB_COMMENT_QR_CODE"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Compile release sources
|
- name: Compile release sources
|
||||||
run: ./gradlew compileReleaseSources $CI_GRADLE_ARG_PROPERTIES
|
run: ./gradlew compileReleaseSources $CI_GRADLE_ARG_PROPERTIES
|
||||||
- name: Compile nightly sources
|
- name: Compile nightly sources
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue