From 983dbfd7ddfc3507528de76486b42402414a8bc5 Mon Sep 17 00:00:00 2001 From: Vanley Date: Fri, 14 Jun 2024 17:08:19 +0100 Subject: [PATCH 1/2] change warning to notice --- src/inputs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inputs.ts b/src/inputs.ts index 42f0139..9c62865 100644 --- a/src/inputs.ts +++ b/src/inputs.ts @@ -1,4 +1,4 @@ -import { getInput, warning } from '@actions/core' +import { getInput, notice } from '@actions/core' import semver from 'semver' export interface Inputs { version: string | null @@ -15,7 +15,7 @@ export function getInputs(): Inputs { export function getVersionInput(name: string): string | null { const version = getInput(name) if (!version) { - warning('Using latest version of uv because no version is provided') + notice('No uv version specified. Using latest version') return null } From fdcb0581b660f0fbc5f975c7ece2db3764ded769 Mon Sep 17 00:00:00 2001 From: Yasser Tahiri Date: Sun, 16 Jun 2024 16:41:03 +0100 Subject: [PATCH 2/2] Update index.js --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index ac3e756..88ab544 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31930,7 +31930,7 @@ exports.getInputs = getInputs; function getVersionInput(name) { const version = (0, core_1.getInput)(name); if (!version) { - (0, core_1.warning)('Using latest version of uv because no version is provided'); + (0, core_1.notice)('No uv version specified. Using latest version'); return null; } const coerced = semver_1.default.coerce(version); @@ -33922,4 +33922,4 @@ run(); module.exports = __webpack_exports__; /******/ })() -; \ No newline at end of file +;