fix: go build cache
This commit is contained in:
parent
d212b98177
commit
c6eb90708e
1
.github/workflows/agent.yml
vendored
1
.github/workflows/agent.yml
vendored
@ -64,6 +64,7 @@ jobs:
|
|||||||
# WARNING: This is temporary remove it after the next release of gopsutil
|
# WARNING: This is temporary remove it after the next release of gopsutil
|
||||||
- name: Patch gopsutil
|
- name: Patch gopsutil
|
||||||
run: |
|
run: |
|
||||||
|
sudo rm -rf $(printf "%s%s" "$(go env GOMODCACHE)" "/github.com/shirou/gopsutil/v4@v4.24.9")
|
||||||
go mod tidy -v
|
go mod tidy -v
|
||||||
curl -L https://github.com/shirou/gopsutil/pull/1722.patch | sudo patch -p1 -d $(printf "%s%s" "$(go env GOMODCACHE)" "/github.com/shirou/gopsutil/v4@v4.24.9")
|
curl -L https://github.com/shirou/gopsutil/pull/1722.patch | sudo patch -p1 -d $(printf "%s%s" "$(go env GOMODCACHE)" "/github.com/shirou/gopsutil/v4@v4.24.9")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user