This commit is contained in:
parent
a3b4e77202
commit
f2470a67a7
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue