Skip to content

Releases: SecretOnline/minecraft-actions

v2.2.1

Choose a tag to compare

@github-actions github-actions released this 09 Oct 07:42

Note

This release was generated from 65b0080e20fe3e878638912b3148939ae5a43708.

Fixed

  • NeoForge libraries are only included once in older versions in the setup-mc-client action.

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 23:12

Note

This release was generated from 3b78f2ad110431459541a14e1dd13d2bbc3373c8.

Added

  • get-latest-mod-version action:
    • 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

Choose a tag to compare

@github-actions github-actions released this 11 Jul 01:37

Note

This release was generated from 73d7c267e4d1f01c6ab6d9f80439b5fe0888c3e9.

Added

  • New output for the screenshot-mc-client action:
    • url: the uploaded artifact URL

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Jul 01:29

Note

This release was generated from 98490ac277ac1f8667ad5937a66be0539cd2f750.

Added

  • screenshot-mc-client action:
    • Takes a screenshot and uploads it as an artifact.
  • New outputs for the run-mc-client action:
    • display and xauthority for interacting with the virtual frame buffer.

v2.0.2

Choose a tag to compare

@github-actions github-actions released this 10 Jul 03:14

Note

This release was generated from 0f2b99cdcd268d30f2d815c831cad4142b2325ba.

Fixed

  • setup-mod-gradle action not being able to resolve script.
    • Fixed by reverting it back to Bash.

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 10 Jul 02:32

Note

This release was generated from 75c6a9881f8a43b0151002e1af99553e7e020a9a.

Fixed

  • Broken actions due to bug in release workflow.

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 10 Jul 01:48

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-server
      • setup-mc-client
      • run-mc-server
      • run-mc-client
    • Each work with Vanilla, Fabric, and NeoForge.
  • For working with modpacks:
    • setup-packwiz and unpack-mrpack are pretty generic.
    • packwiz-update-pack, check-fabric-conflicts, and packwiz-install-versions are 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.yml to ensure the actions in this repo still run after making changes.
  • update-node.yml to keep Node updated. Can be invoked manually to bump to a new major version when GitHub updates their runners.
  • sync-actions-versions.yml to 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-action resolve-java has been converted.

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 31 May 23:15

Initial release

Added

  • setup-mod-gradle
    • Find the java_version key in gradle.properties, installs that version of Java, then sets up Gradle.
  • get-update-versions
    • Get the latest release versions of Minecraft, Fabric, NeoForge, and their immediate dependencies.
  • get-test-matrix
    • Find the minecraft_version_range key in gradle.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; }.