We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26434e1 commit 645ba45Copy full SHA for 645ba45
1 file changed
.github/actions/setup-go/action.yml
@@ -46,6 +46,15 @@ runs:
46
}
47
Write-Host "✓ Verified: Microsoft Go is active"
48
49
+ - name: Add GOBIN to PATH
50
+ shell: bash
51
+ run: |
52
+ GOBIN=$(go env GOBIN)
53
+ if [ -z "$GOBIN" ]; then
54
+ GOBIN="$(go env GOPATH)/bin"
55
+ fi
56
+ echo "$GOBIN" >> $GITHUB_PATH
57
+
58
# Avoid hardcoding the cache keys more than once.
59
- name: Get cache info
60
shell: bash
0 commit comments