mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 22:57:29 +00:00
Build, sign, upload multiple apks
This commit is contained in:
parent
b56f3e69e2
commit
0d0c5fa320
8
.github/workflows/github_pre_release.yml
vendored
8
.github/workflows/github_pre_release.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre
|
run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre
|
||||||
|
|
||||||
- name: Sign APK
|
- name: Sign APK
|
||||||
uses: r0adkll/sign-android-release@v1
|
uses: ammargitham/sign-android-release@v1.1
|
||||||
# ID used to access action output
|
# ID used to access action output
|
||||||
id: sign_app
|
id: sign_app
|
||||||
with:
|
with:
|
||||||
@ -46,7 +46,8 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: barinsta_pre-release_${{ steps.date.outputs.date }}
|
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
|
# Send success notification
|
||||||
- name: Send success Telegram notification
|
- name: Send success Telegram notification
|
||||||
@ -56,7 +57,8 @@ jobs:
|
|||||||
to: ${{ secrets.TELEGRAM_BUILDS_CHANNEL_TO }}
|
to: ${{ secrets.TELEGRAM_BUILDS_CHANNEL_TO }}
|
||||||
token: ${{ secrets.TELEGRAM_BUILDS_BOT_TOKEN }}
|
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}}"
|
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
|
# Send failure notification
|
||||||
- name: Send failure Telegram notification
|
- name: Send failure Telegram notification
|
||||||
|
Loading…
Reference in New Issue
Block a user