improve build logging
All checks were successful
/ Build BaseBand (push) Successful in 6m0s

This commit is contained in:
Daniella / Tove 2024-10-04 21:23:45 +02:00
parent a3b4e77202
commit f2470a67a7
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -21,8 +21,8 @@ jobs:
java-version: 8
- name: Checkout
uses: actions/checkout@v4
- name: Notify Action Start
run: bash scripts/webhook.sh "**(Client)** Build Action Started"
- name: Notify
run: bash scripts/webhook.sh "**(Client)** Building..."
- name: Initialize Gradle
uses: https://github.com/gradle/actions/setup-gradle@v3
- name: Initialize ForgeGradle cache
@ -36,10 +36,14 @@ jobs:
run: |
./gradlew Client:dependencies | grep -e "tuddylib\|ClientBoot" || true
./gradlew Client:dependencies | grep -e "tuddylib\|ClientBoot" || true
- name: Notify
run: bash scripts/webhook.sh "**(Client)** Compiling..."
- name: Build
run: |
bash scripts/gen_hash.sh
./gradlew Client:build
- name: Notify
run: bash scripts/webhook.sh "**(Client)** Obfuscating..."
- name: Obfuscate main
if: github.ref == 'refs/heads/main' # !! ONLY MAIN
run: |
@ -51,6 +55,8 @@ jobs:
./gradlew Client:proguardRelease
MOBFARGS=-p bash scripts/mobf.sh Client/build/proguard/BaseBand-release.jar
- name: Notify
run: bash scripts/webhook.sh "**(Client)** Publishing..."
- name: Upload Mappings
continue-on-error: true
uses: forgejo/upload-artifact@v4