Repository navigation
Releases: SecretOnline/minecraft-actions
Release list
v2.2.1
Note
This release was generated from 65b0080e20fe3e878638912b3148939ae5a43708.
Fixed
- NeoForge libraries are only included once in older versions in the
setup-mc-clientaction.
v2.2.0
Note
This release was generated from 3b78f2ad110431459541a14e1dd13d2bbc3373c8.
Added
get-latest-mod-versionaction:- Looks up the latest Modrinth version of a mod for a given Minecraft version, with an option to allow pre-release versions.
v2.1.1
Note
This release was generated from 73d7c267e4d1f01c6ab6d9f80439b5fe0888c3e9.
Added
- New output for the
screenshot-mc-clientaction:url: the uploaded artifact URL
v2.1.0
Note
This release was generated from 98490ac277ac1f8667ad5937a66be0539cd2f750.
Added
screenshot-mc-clientaction:- Takes a screenshot and uploads it as an artifact.
- New outputs for the
run-mc-clientaction:displayandxauthorityfor interacting with the virtual frame buffer.
v2.0.2
Note
This release was generated from 0f2b99cdcd268d30f2d815c831cad4142b2325ba.
Fixed
setup-mod-gradleaction not being able to resolve script.- Fixed by reverting it back to Bash.
v2.0.1
Note
This release was generated from 75c6a9881f8a43b0151002e1af99553e7e020a9a.
Fixed
- Broken actions due to bug in release workflow.
v2.0.0
Note
This release was generated from 070a699eb652b8094cf5d3836d5bb4c1623d5b3f.
Nearly 3 years later and I'm back in this repo.
Known Issues
Referring to these actions via @main is no longer possible due to them being JS based rather than Bash. Considering I was only using these actions in two repos prior to this and I don't think anyone else was, this shouldn't be an issue.
Added
Many new actions!
- For running the game inside of GitHub Actions:
- 4 new actions:
setup-mc-serversetup-mc-clientrun-mc-serverrun-mc-client
- Each work with Vanilla, Fabric, and NeoForge.
- 4 new actions:
- For working with modpacks:
setup-packwizandunpack-mrpackare pretty generic.packwiz-update-pack,check-fabric-conflicts, andpackwiz-install-versionsare meant to be used together to update a modpack somewhat automatically.- These are currently built around Fabric and Modrinth, as that's what I use it for and these actions are for me.
And behind the scenes, some new GitHub Actions workflow to help me keep these up-to-date:
ci.ymlto ensure the actions in this repo still run after making changes.update-node.ymlto keep Node updated. Can be invoked manually to bump to a new major version when GitHub updates their runners.sync-actions-versions.ymlto make sure that the versions of actions in the READMEs match what Dependabot updates them to.
Changed
- All existing actions have been ported to Node.js
- The exception is
setup-mod-gradle, since it's a composite action. However its sub-actionresolve-javahas been converted.
- The exception is
v1.0.0
Initial release
Added
setup-mod-gradle- Find the
java_versionkey ingradle.properties, installs that version of Java, then sets up Gradle.
- Find the
get-update-versions- Get the latest release versions of Minecraft, Fabric, NeoForge, and their immediate dependencies.
get-test-matrix- Find the
minecraft_version_rangekey ingradle.properties, then returns JSON string containing Minecraft versions matching the range. - The resulting JSON array contains objects of the shape:
{ name: string; minecraft-version: string; java-version: string; }.
- Find the