improve workflows
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m10s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m10s
This commit is contained in:
parent
38d29a8efd
commit
5d0e67ba4e
4 changed files with 22 additions and 4 deletions
|
@ -3,6 +3,7 @@ on:
|
|||
push:
|
||||
paths:
|
||||
- ".forgejo/workflows/build-client.yml"
|
||||
- "scripts/**"
|
||||
- "Client/**"
|
||||
|
||||
|
||||
|
@ -66,5 +67,5 @@ jobs:
|
|||
run: bash scripts/push_file.sh Client/build/proguard/BaseBand-Broadway.jar 3849
|
||||
- name: Notify Action Completion
|
||||
if: always()
|
||||
run: bash scripts/webhook.sh "**(Client)** Build Action Completed <@&1250456258629341284>"
|
||||
run: bash scripts/webhook.sh "# New client build\n Build Action Completed <@&1250456258629341284>"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ on:
|
|||
- "!release"
|
||||
paths:
|
||||
- ".forgejo/workflows/build-installer.yml"
|
||||
- "scripts/**"
|
||||
- "Installer/**"
|
||||
|
||||
|
||||
|
@ -26,6 +27,13 @@ jobs:
|
|||
run: bash scripts/webhook.sh "**(Installer)** Build Action Started"
|
||||
- name: Initialize Gradle
|
||||
uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||
- name: Initialize ForgeGradle cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: fg_cache
|
||||
path: |
|
||||
Client/build/fg_cache
|
||||
Loader/build/fg_cache
|
||||
- name: Build
|
||||
run: |
|
||||
./gradlew --no-daemon Installer:build
|
||||
|
|
|
@ -5,6 +5,7 @@ on:
|
|||
- "!release"
|
||||
paths:
|
||||
- ".forgejo/workflows/build-loader.yml"
|
||||
- "scripts/**"
|
||||
- "Loader/**"
|
||||
|
||||
|
||||
|
@ -23,7 +24,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Notify Action Start
|
||||
run: bash scripts/webhook.sh "**(Loader)** Build Action Started at"
|
||||
run: bash scripts/webhook.sh "**(Loader)** Build Action Started"
|
||||
- name: Initialize Gradle
|
||||
uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||
- name: Initialize ForgeGradle cache
|
||||
|
@ -55,4 +56,4 @@ jobs:
|
|||
bash scripts/push_file.sh Loader/build/proguard/BaseBand-Loader.jar
|
||||
- name: Notify Action Completion
|
||||
if: always()
|
||||
run: bash scripts/webhook.sh "**(Loader)** Build Action Completed <@&1250456258629341284>
|
||||
run: bash scripts/webhook.sh "**(Loader)** Build Action Completed <@&1250456258629341284>"
|
||||
|
|
|
@ -5,6 +5,7 @@ on:
|
|||
- "!release"
|
||||
paths:
|
||||
- ".forgejo/workflows/build-server.yml"
|
||||
- "scripts/**"
|
||||
- "Server/**"
|
||||
- "Discord/**"
|
||||
|
||||
|
@ -24,9 +25,16 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Notify Action Start
|
||||
run: bash scripts/webhook.sh "**(Server)** Build Action Started at"
|
||||
run: bash scripts/webhook.sh "**(Server)** Build Action Started"
|
||||
- name: Initialize Gradle
|
||||
uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||
- name: Initialize ForgeGradle cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: fg_cache
|
||||
path: |
|
||||
Client/build/fg_cache
|
||||
Loader/build/fg_cache
|
||||
- name: Build
|
||||
run: ./gradlew --no-daemon Server:build Discord:build
|
||||
- name: Upload Server
|
||||
|
|
Loading…
Add table
Reference in a new issue