Skip to content

Commit 3ac2371

Browse files
authored
Update action.yml
1 parent cb0138f commit 3ac2371

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ runs:
1919
# - if version is "tip", install from tip of main.
2020
# - if version is "latest-release", look up latest release.
2121
# - otherwise, install the specified version.
22+
2223
case ${{ inputs.version }} in
2324
tip)
2425
echo "Installing goose using go install"
2526
go install github.com/pressly/goose/v3/cmd/goose@latest
2627
;;
2728
latest-release)
28-
tag=$(curl -L -s -u "username:${{ github.token }}" https://api.github.com/pressly/goose/releases/latest | jq -r '.tag_name')
29+
tag=$(curl -L -s -u "username:${{ github.token }}" https://api.github.com/repos/pressly/goose/releases/latest | jq -r '.tag_name')
2930
;;
3031
*)
3132
tag="${{ inputs.version }}"

0 commit comments

Comments
 (0)