Conversation
Adds two workflows modelled after the NanoLimbo setup, adapted for the
AbstractMenus stack (JDK 21, Gradle wrapper, shadowJar target).
- .github/workflows/build.yml
Triggers on pushes to master/main/develop + feature/task/fix
branches, pull requests, and manual dispatch. Runs
`./gradlew build shadowJar` on Ubuntu with Temurin JDK 21 and the
Gradle cache (via gradle/actions/setup-gradle@v4). Publishes JUnit
test report (mikepenz/action-junit-report) and the shaded JAR as
an artifact (14-day retention).
- .github/workflows/release.yml
Triggers when a GitHub release is published (and supports manual
re-run with a tag input). Rebuilds shadowJar from the tagged
commit and attaches `AbstractMenus-<version>.jar` to the release
via softprops/action-gh-release@v2.
Includes a safety check: if the tag version (with optional leading
`v` stripped) does not match `version '...'` in build.gradle, the
workflow fails loudly rather than publishing a mismatched asset.
- .github/RELEASE.md
Short release-flow guide: branching model (GitHub Flow with a
develop integration branch), the five-step cut-a-release
procedure, how to re-attach a JAR to an existing release, a
hotfix flow, and notes on pre-releases.
NanoLimbo uses actions/upload-release-asset@v1 which is deprecated;
swapped for the actively-maintained softprops/action-gh-release@v2.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two workflows modelled after the NanoLimbo setup, adapted for the AbstractMenus stack (JDK 21, Gradle wrapper, shadowJar target).
.github/workflows/build.yml Triggers on pushes to master/main/develop + feature/task/fix branches, pull requests, and manual dispatch. Runs
./gradlew build shadowJaron Ubuntu with Temurin JDK 21 and the Gradle cache (via gradle/actions/setup-gradle@v4). Publishes JUnit test report (mikepenz/action-junit-report) and the shaded JAR as an artifact (14-day retention)..github/workflows/release.yml Triggers when a GitHub release is published (and supports manual re-run with a tag input). Rebuilds shadowJar from the tagged commit and attaches
AbstractMenus-<version>.jarto the release via softprops/action-gh-release@v2.Includes a safety check: if the tag version (with optional leading
vstripped) does not matchversion '...'in build.gradle, theworkflow fails loudly rather than publishing a mismatched asset.
.github/RELEASE.md Short release-flow guide: branching model (GitHub Flow with a develop integration branch), the five-step cut-a-release procedure, how to re-attach a JAR to an existing release, a hotfix flow, and notes on pre-releases.
NanoLimbo uses actions/upload-release-asset@v1 which is deprecated; swapped for the actively-maintained softprops/action-gh-release@v2.