From ad9d15da9e6dfe5cd49060acb2658dc20062b10e Mon Sep 17 00:00:00 2001 From: tkrmagid Date: Fri, 5 Jun 2026 02:16:16 +0900 Subject: [PATCH] =?UTF-8?q?v0.4.35:=20fix=20Gitea=20CI=20(upload-artifact?= =?UTF-8?q?=20v4=20=E2=86=92=20v3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .gitea/workflows/build.yml | 5 ++++- gradle.properties | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 9d3edd2..201394b 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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 diff --git a/gradle.properties b/gradle.properties index bb11be0..8184e84 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ org.gradle.configuration-cache=false # Mod mod_id=video_player -mod_version=0.4.34 +mod_version=0.4.35 maven_group=com.ejclaw.videoplayer archives_base_name=video_player