Ammar Githam
4 years ago
2 changed files with 57 additions and 17 deletions
@ -24,10 +24,10 @@ jobs: |
|||
run: chmod +x gradlew |
|||
|
|||
- name: Build Github unsigned pre-release apk |
|||
run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre |
|||
run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre --project-prop split |
|||
|
|||
- name: Sign APK |
|||
uses: r0adkll/sign-android-release@v1 |
|||
uses: ammargitham/[email protected].1 |
|||
# ID used to access action output |
|||
id: sign_app |
|||
with: |
|||
@ -46,7 +46,8 @@ jobs: |
|||
uses: actions/upload-artifact@v2 |
|||
with: |
|||
name: barinsta_pre-release_${{ steps.date.outputs.date }} |
|||
path: ${{steps.sign_app.outputs.signedReleaseFile}} |
|||
# path: ${{steps.sign_app.outputs.signedReleaseFile}} |
|||
path: app/build/outputs/apk/github/release/*-signed.apk |
|||
|
|||
# Send success notification |
|||
- name: Send success Telegram notification |
|||
@ -56,7 +57,8 @@ jobs: |
|||
to: ${{ secrets.TELEGRAM_BUILDS_CHANNEL_TO }} |
|||
token: ${{ secrets.TELEGRAM_BUILDS_BOT_TOKEN }} |
|||
message: "${{ github.workflow }} ${{ github.job }} #${{ github.run_number }} completed successfully.\nURL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" |
|||
document: ${{steps.sign_app.outputs.signedReleaseFile}} |
|||
# document: ${{steps.sign_app.outputs.signedReleaseFile}} |
|||
document: app/build/outputs/apk/github/release/*-signed.apk |
|||
|
|||
# Send failure notification |
|||
- name: Send failure Telegram notification |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue