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

Add greater-version-only to action inputs #58

Merged
merged 1 commit into from
Apr 7, 2023
Merged
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
Add greater-version-only to action inputs
  • Loading branch information
janza committed Aug 2, 2022
commit 9fb36f0030fd6eddd555ce0c072d5bfee282662c
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -45,6 +45,11 @@ inputs:
required: false
default: "true"

greater-version-only:
description: Only publish to NPM if the version number in package.json is greater than the latest on NPM
required: false
default: "false"

outputs:
type:
description: The type of version change that occurred ("none", "major", "minor", "patch", etc.)