Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Dec 20, 2023
1 parent 4a8e625 commit e606cd8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@ runs:
else
PROJECT_URL="${{ inputs.project-url }}"
fi
if [[ -z $VERSION ]]; then
echo "Version not set. Exiting."
exit 1
fi
if [[ -z $PROJECT_URL ]]; then
echo "Project URL not set. Exiting."
exit 1
fi
echo "INPUT_VERSION=$VERSION" >> $GITHUB_ENV
echo "INPUT_PROJECT_URL=$PROJECT_URL" >> $GITHUB_ENV
echo "INPUT_LOGO_PATH=${{ inputs.logo-path }}" >> $GITHUB_ENV
Expand Down

0 comments on commit e606cd8

Please sign in to comment.