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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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();
}
/**

View File

@ -9,7 +9,7 @@
"test": "jest"
},
"dependencies": {
"gha-utils": "^0.3.0"
"gha-utils": "^0.4.0"
},
"devDependencies": {
"@eslint/js": "^9.10.0",

10
yarn.lock generated
View File

@ -2378,10 +2378,10 @@ __metadata:
languageName: node
linkType: hard
"gha-utils@npm:^0.3.0":
version: 0.3.0
resolution: "gha-utils@npm:0.3.0"
checksum: 10c0/f8fe13abc48640d60072518260c8e6d5fb695e933c3ef2e16970838d3676254d21ed239e4267ae65f83dc5c167a1bd97959005b713217ead7bf8873e79b2343b
"gha-utils@npm:^0.4.0":
version: 0.4.0
resolution: "gha-utils@npm:0.4.0"
checksum: 10c0/8ea206e160ee8f67eb1aa2422bfe07d67f609fa294447da1a39d5ce1fc677fd1f5d44386a04aa6d0304f042cf8c430553cd13a7df6e2dabbe07932f5738bb29a
languageName: node
linkType: hard
@ -4110,7 +4110,7 @@ __metadata:
"@types/jest": "npm:^29.5.13"
"@types/node": "npm:^22.5.5"
eslint: "npm:^9.10.0"
gha-utils: "npm:^0.3.0"
gha-utils: "npm:^0.4.0"
jest: "npm:^29.7.0"
prettier: "npm:^3.3.3"
rollup: "npm:^4.22.4"