v0.4.35: fix Gitea CI (upload-artifact v4 → v3)
All checks were successful
build / build (push) Successful in 1m45s

The `build` workflow's compile step already passed, but actions/upload-artifact@v4
fails on Gitea's GHES-compatible Actions backend (GHESNotSupportedError: the
@actions/artifact v2 protocol isn't supported), marking every push/tag run red.
Downgrade to @v3 (v1 artifact API, which Gitea implements) so the run goes green.

No mod-code change vs v0.4.34 — version bump only so the latest release carries
the fixed workflow and shows a green check.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
This commit is contained in:
tkrmagid
2026-06-05 02:16:16 +09:00
parent b53f51a0b4
commit ad9d15da9e
2 changed files with 5 additions and 2 deletions

View File

@@ -17,7 +17,10 @@ jobs:
java-version: 25
- name: Build (MC 26.1.2)
run: ./gradlew --no-daemon build
- uses: actions/upload-artifact@v4
# Gitea Actions runs on a GHES-compatible backend that does NOT support the
# @actions/artifact v2 protocol (upload-artifact@v4 → GHESNotSupportedError).
# v3 uses the v1 artifact API, which Gitea implements — so the run goes green.
- uses: actions/upload-artifact@v3
with:
name: video_player-mc26.1.2
path: build/libs/*.jar