Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change warning to notice #46

Merged
merged 2 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading