diff --git a/action.yml b/action.yml index 9c64e0d..ca7866a 100644 --- a/action.yml +++ b/action.yml @@ -78,11 +78,6 @@ runs: if [[ -z "${{ inputs.command }}" || "${{ inputs.command }}" == "release" ]] then - if [ -z "${CARGO_REGISTRY_TOKEN-unset}" ] - then - echo "\$CARGO_REGISTRY_TOKEN environment variable is set to empty string. Please set your token in GitHub actions secrets. Docs: https://marcoieni.github.io/release-plz/github/index.html" - exit 1 - fi echo "-- Running release-plz release --" release-plz release\ --git-token ${GITHUB_TOKEN}\