Skip to content

Utility for Unity to display information in GitHub Actions job summaries

License

Notifications You must be signed in to change notification settings

VeyronSakai/JobSummaryUtility

Repository files navigation

JobSummaryUtility

JobSummaryUtility is a utility for Unity to display information in the GitHub Actions job summaries.

How to use

Using the JobSummaryUtility namespace, write the following code

JobSummary.AppendAllText("Hello, World");

and when you run this process on GitHub Actions, you will see the following in the Job Summary.

hello-world-test

JobSummaryUtility also provides a property named JobSummary.Enabled, which returns false if writing to the Job Summary is not possible, for example, in environments other than GitHub Actions.

Setup

Unity Package Manager allows you to install as follows;

  1. Open the Package Manager in the UnityEditor.
  2. Select the + button in the upper left corner.
  3. Select Add package from git URL.
  4. Enter https://github.com/VeyronSakai/JobSummaryUtility.git#0.1 and Select Add button.

It can also be installed by downloading .unitypackage from Releases.

License

This software is released under the CC0-1.0 License.

About

Utility for Unity to display information in GitHub Actions job summaries

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages