Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ runs:
}
Write-Host "✓ Verified: Microsoft Go is active"

- name: Add GOBIN to PATH
shell: bash
run: |
GOBIN=$(go env GOBIN)
if [ -z "$GOBIN" ]; then
GOBIN="$(go env GOPATH)/bin"
fi
echo "$GOBIN" >> $GITHUB_PATH

# Avoid hardcoding the cache keys more than once.
- name: Get cache info
shell: bash
Expand Down