From d6f1f53681bcdedba6d98ebcd340bd6edff04c10 Mon Sep 17 00:00:00 2001 From: Michael Burgess Date: Sat, 8 Aug 2026 08:50:05 -0400 Subject: [PATCH] Fix CI: use upload-artifact@v3 for Gitea Actions compatibility actions/upload-artifact@v4 depends on @actions/artifact v2, which refuses to run against Gitea's self-hosted Actions runner (it identifies itself as GHES, which v2 explicitly blocks). The Gradle build itself now succeeds on JDK 25; only the artifact upload step was failing. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index dae00b1..7ef61cc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -31,8 +31,10 @@ jobs: - name: Build run: ./gradlew build --no-daemon + # v4 uses @actions/artifact v2, which refuses to run against Gitea's + # self-hosted Actions (it reports itself as GHES, which v2 blocks). - name: Upload plugin jar - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: BoatParty path: build/libs/BoatParty-*.jar