improve action discord logging
This commit is contained in:
parent
9198ba98cc
commit
0c39615700
5 changed files with 11 additions and 7 deletions
|
@ -21,7 +21,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Notify Action Start
|
||||
run: bash scripts/webhook.sh "**(Client)** Build Action Started at"
|
||||
run: bash scripts/webhook.sh "**(Client)** Build Action Started"
|
||||
- name: Initialize Gradle
|
||||
uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||
- name: Build
|
||||
|
@ -57,5 +57,6 @@ jobs:
|
|||
BB_PATH: ${{ vars.BB_PATH }}
|
||||
run: bash scripts/push_file.sh Client/build/proguard/BaseBand-Broadway.jar 3849
|
||||
- name: Notify Action Completion
|
||||
run: bash scripts/webhook.sh "**(Client)** Build Action Completed at"
|
||||
if: always()
|
||||
run: bash scripts/webhook.sh "**(Client)** Build Action Completed"
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Notify Action Start
|
||||
run: bash scripts/webhook.sh "**(Installer)** Build Action Started at"
|
||||
run: bash scripts/webhook.sh "**(Installer)** Build Action Started"
|
||||
- name: Initialize Gradle
|
||||
uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||
- name: Build
|
||||
|
@ -35,4 +35,5 @@ jobs:
|
|||
name: BaseBand-Installer.jar
|
||||
path: Installer/build/libs/BaseBand-Installer.jar
|
||||
- name: Notify Action Completion
|
||||
run: bash scripts/webhook.sh "**(Installer)** Build Action Completed at"
|
||||
if: always()
|
||||
run: bash scripts/webhook.sh "**(Installer)** Build Action Completed"
|
|
@ -44,4 +44,5 @@ jobs:
|
|||
BB_PATH: ${{ vars.BB_PATH }}
|
||||
run: bash scripts/push_file.sh Loader/build/proguard/BaseBand-Loader.jar 3848
|
||||
- name: Notify Action Completion
|
||||
run: bash scripts/webhook.sh "**(Loader)** Build Action Completed at"
|
||||
if: always()
|
||||
run: bash scripts/webhook.sh "**(Loader)** Build Action Completed"
|
||||
|
|
|
@ -51,4 +51,5 @@ jobs:
|
|||
bash scripts/push_file.sh Server/build/libs/BaseBand-Server.jar
|
||||
bash scripts/push_file.sh Discord/build/libs/BaseBand-Discord.jar
|
||||
- name: Notify Action Completion
|
||||
run: bash scripts/webhook.sh "**(Server)** Build Action Completed at"
|
||||
if: always()
|
||||
run: bash scripts/webhook.sh "**(Server)** Build Action Completed"
|
||||
|
|
|
@ -1 +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
|
||||
curl -i -s -o /dev/null -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"content\": \"$* on $(basename "$(git describe --always --all)") at $(date)\"}" https://discord.com/api/webhooks/1250323633205940244/yu1v_moeBxWi4YWaRK_s4tNAXUGUJml-E2PbhToccVFo1Ax2_6Iq6R6lEONCKikHBBn4
|
Loading…
Add table
Reference in a new issue