Skip to content

Commit

Permalink
Merge pull request #4 from kirillmorozov/main
Browse files Browse the repository at this point in the history
fix: Typo at the end of `gh_api_url`
  • Loading branch information
KevinRohn authored May 16, 2022
2 parents 1208b84 + b2645be commit e34f7d3
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 e34f7d3

Please sign in to comment.