File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 5454 [ -e app/build.gradle.kts ] && sed -i "/qa/,/\}/ s/versionName .*/versionName = \"${{github.event.number}}\"/" "app/build.gradle.kts"
5555 ./gradlew assembleQaDebug
5656 $(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:"$KS_PASS" --key-pass pass:"$KEY_PASS" --ks-key-alias key0 --ks ".github/workflows/QA_keystore.jks" app/build/outputs/apk/qa/debug/*qa-debug*.apk
57- .github/workflows/uploadArtifact.sh "$LOG_USERNAME" "$LOG_PASSWORD" "${{github.event.number}}" "${{github.event.number}}" "$GITHUB_TOKEN"
57+
58+ - name : Upload APK
59+ id : upload-apk
60+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
61+ with :
62+ path : app/build/outputs/apk/qa/debug/*qa-debug*.apk
63+ retention-days : 7
64+ archive : false
65+
66+ - name : Create QR Code
67+ run : |
68+ sudo apt-get -y install qrencode
69+ qrencode -o qr.png "${{ steps.upload-apk.outputs.artifact-url }}"
70+
71+ - name : Upload QR
72+ id : upload-qr
73+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
74+ with :
75+ path : qr.png
76+ retention-days : 7
77+ archive : false
78+
79+ - name : Comment PR
80+ uses : thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b
81+ with :
82+ message : |
83+ APK file: ${{ steps.upload-apk.outputs.artifact-url }}
84+ To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
85+  (please click on link to get QR code displayed)
You can’t perform that action at this time.
0 commit comments