v0.4.35: fix Gitea CI (upload-artifact v4 → v3)
All checks were successful
build / build (push) Successful in 1m45s
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:
@@ -17,7 +17,10 @@ jobs:
|
|||||||
java-version: 25
|
java-version: 25
|
||||||
- name: Build (MC 26.1.2)
|
- name: Build (MC 26.1.2)
|
||||||
run: ./gradlew --no-daemon build
|
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:
|
with:
|
||||||
name: video_player-mc26.1.2
|
name: video_player-mc26.1.2
|
||||||
path: build/libs/*.jar
|
path: build/libs/*.jar
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ org.gradle.configuration-cache=false
|
|||||||
|
|
||||||
# Mod
|
# Mod
|
||||||
mod_id=video_player
|
mod_id=video_player
|
||||||
mod_version=0.4.34
|
mod_version=0.4.35
|
||||||
maven_group=com.ejclaw.videoplayer
|
maven_group=com.ejclaw.videoplayer
|
||||||
archives_base_name=video_player
|
archives_base_name=video_player
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user