File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,12 @@ runs:
5353 run : |
5454 set -eo pipefail
5555 if [ "${{ inputs.tool-version }}" = "latest" ]; then
56- download_url="$(curl -Ls https://api.github.com/repos/linz/action-git-version/releases/latest | jq -r .assets[0].browser_download_url)"
56+ download_url="$(curl -L https://api.github.com/repos/linz/action-git-version/releases/latest | jq -r .assets[0].browser_download_url)"
5757 else
5858 download_url="https://github.com/linz/action-git-version/releases/download/${{ inputs.tool-version }}/git-version"
5959 fi
60- sudo curl -Ls "$download_url" -o /usr/local/bin/git-version
60+ echo "Downloading git-version from $download_url"
61+ sudo curl -L "$download_url" -o /usr/local/bin/git-version
6162 sudo chmod +x /usr/local/bin/git-version
6263 - id : previous-version
6364 shell : bash
You can’t perform that action at this time.
0 commit comments