Skip to content

Commit

Permalink
♻️ chore: Use notice() instead of warning (#46)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Yasser Tahiri <[email protected]>
  • Loading branch information
Vanley and yezz123 authored Jun 16, 2024
1 parent 36697fc commit ce75db7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -33922,4 +33922,4 @@ run();

module.exports = __webpack_exports__;
/******/ })()
;
;
4 changes: 2 additions & 2 deletions src/inputs.ts
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}

Expand Down

0 comments on commit ce75db7

Please sign in to comment.