diff --git a/.forgejo/workflows/build-client.yml b/.forgejo/workflows/build-client.yml index 96f61d1..3a9afe6 100644 --- a/.forgejo/workflows/build-client.yml +++ b/.forgejo/workflows/build-client.yml @@ -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>" diff --git a/.forgejo/workflows/build-installer.yml b/.forgejo/workflows/build-installer.yml index d1b3ee8..b568db1 100644 --- a/.forgejo/workflows/build-installer.yml +++ b/.forgejo/workflows/build-installer.yml @@ -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 diff --git a/.forgejo/workflows/build-loader.yml b/.forgejo/workflows/build-loader.yml index 0489249..89b13f2 100644 --- a/.forgejo/workflows/build-loader.yml +++ b/.forgejo/workflows/build-loader.yml @@ -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>" diff --git a/.forgejo/workflows/build-server.yml b/.forgejo/workflows/build-server.yml index c54f3f8..11c5e3a 100644 --- a/.forgejo/workflows/build-server.yml +++ b/.forgejo/workflows/build-server.yml @@ -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