chore: bump gha-utils from 0.3.0 to 0.4.0 (#457)

Bumps [gha-utils](https://github.com/threeal/gha-utils) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/threeal/gha-utils/releases)
- [Commits](https://github.com/threeal/gha-utils/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: gha-utils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2024-09-25 18:04:20 +07:00
committed by GitHub
parent 7ee5dd03fe
commit 5fc48bdef4
3 changed files with 8 additions and 7 deletions

3
dist/action.mjs generated vendored
View File

@@ -5,6 +5,7 @@ import path from 'node:path';
import { execFileSync } from 'node:child_process';
/**
* @internal
* Retrieves the value of an environment variable.
*
* @param name - The name of the environment variable.
@@ -25,7 +26,7 @@ function mustGetEnvironment(name) {
* @returns The value of the GitHub Actions input, or an empty string if not found.
*/
function getInput(name) {
const value = process.env[`INPUT_${name.toUpperCase()}`] || "";
const value = process.env[`INPUT_${name.toUpperCase()}`] ?? "";
return value.trim();
}
/**