diff --git a/action.yml b/action.yml index 5d90f03..de17654 100644 --- a/action.yml +++ b/action.yml @@ -38,16 +38,16 @@ runs: run: | projectKey="$GITHUB_REPOSITORY" - if [ -v INPUT_TCC_PROJECT_KEY ]; then - projectKey="$INPUT_TCC_PROJECT_KEY" + if [ -v INPUT_PROJECT_KEY ]; then + projectKey="$INPUT_PROJECT_KEY" elif [ -v TCC_PROJECT_KEY ]; then projectKey="$TCC_PROJECT_KEY" fi projectUrl="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" - if [ -v INPUT_TCC_PROJECT_URL ]; then - projectUrl="$INPUT_TCC_PROJECT_URL" + if [ -v INPUT_PROJECT_URL ]; then + projectUrl="$INPUT_PROJECT_URL" elif [ -v TCC_PROJECT_URL ]; then projectUrl="$TCC_PROJECT_URL" fi