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

fix: publication-test shouldn't be required #181

Merged
merged 1 commit into from
Jun 20, 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 .github/workflows/release-crates-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
required: false
publication-test:
type: boolean
required: true
required: false
default: false
workflow_dispatch:
inputs:
Expand All @@ -41,7 +41,7 @@ on:
required: false
publication-test:
type: boolean
required: true
required: false
default: false

jobs:
Expand Down
2 changes: 1 addition & 1 deletion dist/publish-crates-cargo-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81358,7 +81358,7 @@ function setup() {
const cratesIoToken = _actions_core__WEBPACK_IMPORTED_MODULE_1__.getInput("crates-io-token", { required: true });
const unpublishedDepsPatterns = _actions_core__WEBPACK_IMPORTED_MODULE_1__.getInput("unpublished-deps-patterns");
const unpublishedDepsRepos = _actions_core__WEBPACK_IMPORTED_MODULE_1__.getInput("unpublished-deps-repos");
const publicationTest = _actions_core__WEBPACK_IMPORTED_MODULE_1__.getBooleanInput("publication-test", { required: true });
const publicationTest = _actions_core__WEBPACK_IMPORTED_MODULE_1__.getBooleanInput("publication-test");
return {
liveRun,
branch,
Expand Down
2 changes: 1 addition & 1 deletion publish-crates-cargo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ inputs:
unpublished-deps-repos:
required: false
publication-test:
required: true
required: false

runs:
using: node20
Expand Down
2 changes: 1 addition & 1 deletion src/publish-crates-cargo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function setup(): Input {
const cratesIoToken = core.getInput("crates-io-token", { required: true });
const unpublishedDepsPatterns = core.getInput("unpublished-deps-patterns");
const unpublishedDepsRepos = core.getInput("unpublished-deps-repos");
const publicationTest = core.getBooleanInput("publication-test", { required: true });
const publicationTest = core.getBooleanInput("publication-test");

return {
liveRun,
Expand Down