Skip to content
Merged
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ runs:
}
Write-Host "✓ Verified: Microsoft Go is active"

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

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