Skip to content

Commit

Permalink
fix var names
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Dec 20, 2023
1 parent c194ea1 commit 64d109f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ runs:
if "${{ inputs.version }}" == ""; then
VERSION=$(curl --silent "https://api.github.com/repos/${{ github.repository }}/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
else
VERSION=${{ inputs.version }}
VERSION="${{ inputs.version }}""
fi
if "${{ inputs.project-url }}" == ""; then
PROJECT_URL="${{ github.server_url }}/${{ github.repository }}"
else
PROJECT_URL=${{ inputs.project-url }}
PROJECT_URL="${{ inputs.project-url }}"
fi
echo "INPUT_VERSION=$VERSION" >> $GITHUB_ENV
echo "INPUT_PROJECT_URL=$PROJECT_URL" >> $GITHUB_ENV
Expand Down

0 comments on commit 64d109f

Please sign in to comment.