From 1e5639e1c0f630048da923e12ccb569e1fa91084 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Tue, 6 Sep 2022 13:28:38 -0400 Subject: [PATCH] Also curl -L in case it moves again --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a389b20..33c973d 100644 --- a/action.yml +++ b/action.yml @@ -25,7 +25,7 @@ runs: go install github.com/google/ko@main ;; latest-release) - tag=$(curl -s -u "username:${{ github.token }}" https://api.github.com/repos/ko-build/ko/releases/latest | jq -r '.tag_name') + tag=$(curl -L -s -u "username:${{ github.token }}" https://api.github.com/repos/ko-build/ko/releases/latest | jq -r '.tag_name') ;; *) tag="${{ inputs.version }}"