Fix CI: use upload-artifact@v3 for Gitea Actions compatibility
CI / build (push) Successful in 1m35s

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 <[email protected]>
This commit is contained in:
Michael Burgess
2026-08-08 08:50:05 -04:00
co-authored by Claude Sonnet 5
parent 38fbdd22ab
commit d6f1f53681
+3 -1
View File
@@ -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