We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0138f commit 3ac2371Copy full SHA for 3ac2371
action.yml
@@ -19,13 +19,14 @@ runs:
19
# - if version is "tip", install from tip of main.
20
# - if version is "latest-release", look up latest release.
21
# - otherwise, install the specified version.
22
+
23
case ${{ inputs.version }} in
24
tip)
25
echo "Installing goose using go install"
26
go install github.com/pressly/goose/v3/cmd/goose@latest
27
;;
28
latest-release)
- 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')
30
31
*)
32
tag="${{ inputs.version }}"
0 commit comments