From 6772c62ac8b21a8c57d982b58c29f1c420ad9793 Mon Sep 17 00:00:00 2001 From: Stephen Hodgson Date: Sat, 27 Sep 2025 20:58:08 -0400 Subject: [PATCH] unity-cli@v1.0.2 - fix some package config - fix GHA logger env check --- package.json | 24 ++++++++++++++++++++++-- src/logging.ts | 2 +- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d452ea9..42fc666 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rage-against-the-pixel/unity-cli", - "version": "1.0.1", + "version": "1.0.2", "description": "A command line utility for the Unity Game Engine.", "author": "RageAgainstThePixel", "license": "MIT", @@ -12,9 +12,29 @@ "url": "https://github.com/RageAgainstThePixel/unity-cli/issues" }, "homepage": "https://github.com/RageAgainstThePixel/unity-cli#readme", + "keywords": [ + "unity", + "cli", + "command-line", + "command line", + "tool", + "utility", + "game development", + "devOps", + "automation", + "build", + "continuous integration", + "ci", + "cd", + "development", + "gameDev", + "game dev", + "rage-against-the-pixel", + "rage against the pixel" + ], "main": "dist/index.js", "bin": { - "unity-cli": "./dist/index.js" + "unity-cli": "dist/index.js" }, "files": [ "dist" diff --git a/src/logging.ts b/src/logging.ts index 88004d3..5bd36e3 100644 --- a/src/logging.ts +++ b/src/logging.ts @@ -12,7 +12,7 @@ export class Logger { static readonly instance: Logger = new Logger(); private constructor() { - if (process.env.GITHUB_ACTIONS) { + if (process.env.GITHUB_ACTIONS === 'true') { this._ci = 'GITHUB_ACTIONS'; this.logLevel = process.env.ACTIONS_STEP_DEBUG === 'true' ? LogLevel.DEBUG : LogLevel.CI; }