add trolly build notifs
Some checks failed
/ Build BaseBand DSM & Broadway (push) Failing after 7s
/ Build BaseBand Installer (push) Failing after 7s
/ Build BaseBand Loader (push) Failing after 7s
/ Build BaseBand Server (push) Failing after 7s

This commit is contained in:
Jess H 2024-06-12 07:00:37 +01:00
parent 6d740a7703
commit b7292ebb52
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19
5 changed files with 17 additions and 0 deletions

View file

@ -13,6 +13,8 @@ jobs:
runs-on: 'docker'
steps:
- name: Notify Action Start
run: bash webhook.sh "(Client) Build Action Started at"
- name: Setup Java
uses: https://github.com/actions/setup-java@v4
with:
@ -52,4 +54,6 @@ jobs:
BB_PORT: ${{ vars.BB_PORT }}
BB_PATH: ${{ vars.BB_PATH }}
run: bash push_file.sh Client/build/proguard/BaseBand-Broadway.jar 3849
- name: Notify Action Completion
run: bash webhook.sh "**(Client)** Build Action Completed at"

View file

@ -13,6 +13,8 @@ jobs:
runs-on: 'docker'
steps:
- name: Notify Action Start
run: bash webhook.sh "**(Installer)** Build Action Started at"
- name: Setup Java
uses: https://github.com/actions/setup-java@v4
with:
@ -32,3 +34,5 @@ jobs:
with:
name: BaseBand-Installer.jar
path: Installer/build/libs/BaseBand-Installer.jar
- name: Notify Action Completion
run: bash webhook.sh "**(Installer)** Build Action Completed at"

View file

@ -13,6 +13,8 @@ jobs:
runs-on: 'docker'
steps:
- name: Notify Action Start
run: bash webhook.sh "**(Loader)** Build Action Started at"
- name: Setup Java
uses: https://github.com/actions/setup-java@v4
with:
@ -41,3 +43,5 @@ jobs:
BB_PORT: ${{ vars.BB_PORT }}
BB_PATH: ${{ vars.BB_PATH }}
run: bash push_file.sh Loader/build/proguard/BaseBand-Loader.jar 3848
- name: Notify Action Completion
run: bash webhook.sh "**(Loader)** Build Action Completed at"

View file

@ -14,6 +14,8 @@ jobs:
runs-on: 'docker'
steps:
- name: Notify Action Start
run: bash webhook.sh "**(Server)** Build Action Started at"
- name: Setup Java
uses: https://github.com/actions/setup-java@v4
with:
@ -48,3 +50,5 @@ jobs:
run: |
bash push_file.sh Server/build/libs/BaseBand-Server.jar
bash push_file.sh Discord/build/libs/BaseBand-Discord.jar
- name: Notify Action Completion
run: bash webhook.sh "**(Server)** Build Action Completed at"

1
webhook.sh Executable file
View file

@ -0,0 +1 @@
curl -i -s -o /dev/null -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"$* $(date)\"}" https://discord.com/api/webhooks/1250323633205940244/yu1v_moeBxWi4YWaRK_s4tNAXUGUJml-E2PbhToccVFo1Ax2_6Iq6R6lEONCKikHBBn4