From e9a34b9f98c9e19610b81307af170e2e63cb9525 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Tue, 11 Jun 2024 00:54:40 +0200 Subject: [PATCH] make workflows continue on upload error --- .forgejo/workflows/build-client.yml | 2 ++ .forgejo/workflows/build-installer.yml | 1 + .forgejo/workflows/build-loader.yml | 1 + .forgejo/workflows/build-server.yml | 9 ++++++++- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-client.yml b/.forgejo/workflows/build-client.yml index a7434c7..ec96b99 100644 --- a/.forgejo/workflows/build-client.yml +++ b/.forgejo/workflows/build-client.yml @@ -31,11 +31,13 @@ jobs: bash mobf.sh Client/build/proguard/BaseBand-Broadway.jar - name: Upload DSM + continue-on-error: true uses: forgejo/upload-artifact@v4 with: name: BaseBand-DSM.jar path: Client/build/libs/BaseBand-DSM.jar - name: Upload Broadway + continue-on-error: true if: github.ref == 'refs/heads/release' uses: forgejo/upload-artifact@v4 with: diff --git a/.forgejo/workflows/build-installer.yml b/.forgejo/workflows/build-installer.yml index c31efb5..1d2d6d4 100644 --- a/.forgejo/workflows/build-installer.yml +++ b/.forgejo/workflows/build-installer.yml @@ -27,6 +27,7 @@ jobs: ./gradlew --no-daemon Installer:build bash mobf.sh Installer/build/libs/BaseBand-Installer.jar - name: Upload Installer + continue-on-error: true uses: forgejo/upload-artifact@v4 with: name: BaseBand-Installer.jar diff --git a/.forgejo/workflows/build-loader.yml b/.forgejo/workflows/build-loader.yml index fcbf8a6..f9a2780 100644 --- a/.forgejo/workflows/build-loader.yml +++ b/.forgejo/workflows/build-loader.yml @@ -28,6 +28,7 @@ jobs: ./gradlew --no-daemon Loader:build Loader:proguard bash mobf.sh Loader/build/proguard/BaseBand-Loader.jar - name: Upload Loader + continue-on-error: true uses: forgejo/upload-artifact@v4 with: name: BaseBand.jar diff --git a/.forgejo/workflows/build-server.yml b/.forgejo/workflows/build-server.yml index 287630a..7192a43 100644 --- a/.forgejo/workflows/build-server.yml +++ b/.forgejo/workflows/build-server.yml @@ -25,11 +25,18 @@ jobs: uses: https://github.com/gradle/actions/setup-gradle@v3 - name: Build run: ./gradlew --no-daemon Server:build Discord:build - - name: Upload + - name: Upload Server + continue-on-error: true uses: forgejo/upload-artifact@v4 with: name: BaseBand-Server.jar path: Server/build/libs/BaseBand-Server.jar + - name: Upload Bot + continue-on-error: true + uses: forgejo/upload-artifact@v4 + with: + name: BaseBand-Discord.jar + path: Server/build/libs/BaseBand-Discord.jar - name: Release to server if: github.ref == 'refs/heads/release' env: