Skip to content

Commit 04fbe0e

Browse files
fix: curl command null version returned (#19)
Signed-off-by: ashnamehrotra <ashnamehrotra@gmail.com>
1 parent 1bd44ef commit 04fbe0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
shell: bash
3535
run : |
3636
if [ -z "${{ inputs.copa-version }}" ]; then
37-
latest_tag=$(curl -s "https://api.github.com/repos/project-copacetic/copacetic/releases/latest" | jq -r '.tag_name')
37+
latest_tag=$(curl --retry 5 -s "https://api.github.com/repos/project-copacetic/copacetic/releases/latest" | jq -r '.tag_name')
3838
version=${latest_tag:1}
3939
else
4040
version="${{ inputs.copa-version }}"

0 commit comments

Comments
 (0)