Skip to content

Commit

Permalink
fix: Remove $ at the end of gh_api_url
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillmorozov committed May 12, 2022
1 parent 1208b84 commit b2645be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ runs:
if [[ "${{ inputs.version }}" == "latest" ]]; then
gh_api_url="https://api.github.com/repos/${{ inputs.repository }}/releases/latest"
else
gh_api_url="https://api.github.com/repos/${{ inputs.repository }}/releases/tags/${{ inputs.version }}$"
gh_api_url="https://api.github.com/repos/${{ inputs.repository }}/releases/tags/${{ inputs.version }}"
fi
release_json_data=$(curl ${token:+"-H"} ${token:+"Authorization: token ${token}"} "$gh_api_url")
Expand Down

0 comments on commit b2645be

Please sign in to comment.