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>
27 lines
730 B
YAML
27 lines
730 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
tags: ["v*"]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: 25
|
|
- name: Build (MC 26.1.2)
|
|
run: ./gradlew --no-daemon build
|
|
# 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
|