Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,22 @@ jobs:
uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6

- name: Build, test, and audit once
env:
LOADER_NAME: ${{ needs.preflight.outputs.loader_name }}
run: |
set -euo pipefail
chmod +x ./gradlew
./gradlew clean check build javadoc verifyReleaseArtifacts writeReleaseChecksums --no-daemon --stacktrace
if [[ "$LOADER_NAME" == "neoforge" ]]; then
# NeoGradle resolves model inputs during configuration under build/tmp.
# Cleaning in the same invocation removes those inputs before setup runs.
./gradlew clean --no-daemon --stacktrace --max-workers=2
./gradlew check build javadoc verifyReleaseArtifacts writeReleaseChecksums \
--no-daemon --stacktrace --max-workers=2
else
# Preserve the established Forge release lifecycle.
./gradlew clean check build javadoc verifyReleaseArtifacts writeReleaseChecksums \
--no-daemon --stacktrace
fi

- name: Stage the immutable release artifact
id: artifact
Expand Down
Loading