Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.14 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.14 KB

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.