From b972563971b9295d2622d647168a85381483091a Mon Sep 17 00:00:00 2001 From: androidlover5842 Date: Mon, 26 Jan 2026 17:26:08 +0530 Subject: [PATCH] upload artifact --- .gitea/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2087387..0a2b47f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -23,10 +23,16 @@ jobs: - name: Build run: ./gradlew build -x test --no-daemon --info --stacktrace + - name: Upload jar + uses: actions/upload-artifact@v4 + with: + name: trisolarisserver-jar + path: build/libs/*.jar + deploy: runs-on: ubuntu-latest needs: build steps: - name: Trigger deploy webhook run: | - curl -sS -X POST http://127.0.0.1:9000/hooks/deploy-trisolarisserver + curl -sS -X POST -H "X-Gitea-Event: push" http://127.0.0.1:9000/hooks/deploy-trisolarisserver