Skip to content

Using the Kart Template, and GameCI docker images - this will release a WebGL version of the game to Github Pages

License

Notifications You must be signed in to change notification settings

NextFaze/github-action-unity-example

Repository files navigation

github-action-unity-example

Release on Main 😎

Using the Kart Template, and GameCI docker images - this will release a WebGL version of the game to Github Pages

Built project should be available via GH Pages link, as well as a Prerelease

Notes on creation

  • Had to enable Decompression Fallback under Project Settings > Player > Publishing Settings for the WebGL player to load.
  • Tested locally by building and running python -m SimpleHTTPServer in the build folder
  • Initially created using Personal license, but you can also use professional license serial. More details in the docs

Usage

This is following the Personal license steps here

  • Copy the .github/workflows folder into your project
  • Set the unityVersion to your required version in activation.yml
  • Set the PROJECT_NAME enviroment variable in main.yml to your preferred Project Name
  • Run the Acquire activation file action to create your ulf file
    • This will be an Action Asset
  • Upload the ulf file to https://license.unity3d.com/manual
  • You should now receive your license file (Unity_v20XX.x.ulf) as a download.
  • Open Github > > Settings > Secrets.
  • Create a secret called UNITY_LICENSE and copy the contents your license file into it.

About

Using the Kart Template, and GameCI docker images - this will release a WebGL version of the game to Github Pages

Resources

License

Stars

Watchers

Forks

Packages

No packages published