Skip to content

Commit

Permalink
Fix input checking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
richardfan1126 committed Mar 1, 2024
1 parent 5af63ed commit ad64c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ runs:
exit 1
fi
if [[ "${ENABLE_GHCR_PUSH}" ]]; then
if [[ "${ENABLE_GHCR_PUSH}" == "true" ]]; then
if [[ -z "${EIF_FILE_NAME}" || -z "${EIF_INFO_FILE_NAME}" || -z "${ARTIFACT_TAG}" || -z "${GITHUB_TOKEN}" ]]; then
echo "::error title=⛔ error hint::eif-file-name, eif-info-file-name, artifact-tag and github-token must be specified when enable-ghcr-push is true"
exit 1
Expand Down

0 comments on commit ad64c38

Please sign in to comment.