ci/single-job-publish
master
Requested by Ethyn · project thread
#8 合并后 publish job 因 Gitea 没有镜像 actions/download-artifact 在启动前失败(run 25316,没有发布任何东西)。按你选的方案 3,改回同一个 job 里先 build 后 publish,完全不用 artifact。
actions/download-artifact
upload-artifact
download-artifact
build
Check the publish credentials
Publish
./gradlew publish
publish=true
MAVEN_USER
MAVEN_PASSWORD
publish-only
本地(假凭据、127.0.0.1:9)此前已验证:build 后直接 publish 约 6s,compilePatchedMcJava/injectTags/compileJava/jar/reobfJar 全部 UP-TO-DATE;带 applyPatches 则全部重跑。PR CI 只验证 build;合并后的 master push 会真实 publish。
publish
🤖 Generated with Claude Code
No dependencies set.
The note is not visible to the blocked user.
Requested by Ethyn · project thread
#8 合并后 publish job 因 Gitea 没有镜像
actions/download-artifact在启动前失败(run 25316,没有发布任何东西)。按你选的方案 3,改回同一个 job 里先 build 后 publish,完全不用 artifact。改动
upload-artifact、download-artifact、打包/还原步骤)。buildjob:Build 之后接Check the publish credentials和Publish(./gradlew publish,不带 applyPatches,复用同一工作区);只在 push 或手动publish=true时执行,PR 到不了。MAVEN_USER/MAVEN_PASSWORD只在这两步的 step env 中。publish-only输入和 job(自己构建并发布)。验证
本地(假凭据、127.0.0.1:9)此前已验证:build 后直接
publish约 6s,compilePatchedMcJava/injectTags/compileJava/jar/reobfJar 全部 UP-TO-DATE;带 applyPatches 则全部重跑。PR CI 只验证 build;合并后的 master push 会真实 publish。🤖 Generated with Claude Code