Skip to content

Commit

Permalink
Merge branch 'v2.x' of github.com:FrontEndDev-org/publish-node-packag…
Browse files Browse the repository at this point in the history
…e-action into v2.x
  • Loading branch information
cloudcome committed Jan 16, 2025
2 parents a54451f + 68a72a4 commit c698d71
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27514,7 +27514,7 @@ function publishPackage(pkgPath, options) {
//
"npm",
"publish",
options.target === "npm" && "--provenance",
options.target === "npm" && !options.disableProvenance && "--provenance",
`--tag=${options.tag}`,
options.dryRun && "--dry-run",
core.isDebug() && "--verbose"
Expand Down Expand Up @@ -27586,16 +27586,18 @@ async function main() {
const inputs = {
token,
tag: core.getInput("tag"),
dryRun: core.getInput("dry-run") === "true",
dryRun: core.getInput("dryRun") === "true",
target: core.getInput("target"),
includePrivate: core.getInput("include-private") === "true"
includePrivate: core.getInput("includePrivate") === "true",
disableProvenance: core.getInput("disableProvenance") === "true"
};
const defaults = {
dryRun: false,
target: "npm",
includePrivate: false,
tag: "latest",
token: ""
token: "",
disableProvenance: false
};
const options = {};
for (const [key, defaultVal] of Object.entries(defaults)) {
Expand Down

0 comments on commit c698d71

Please sign in to comment.