Skip to content

Commit 9a143b6

Browse files
committed
set go's mod cache env var to a directory we can write to
1 parent 79a395b commit 9a143b6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/e2e-tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ jobs:
5454
uses: actions/setup-go@v5
5555
with:
5656
go-version: "1.22"
57-
57+
5858
- name: Build devspacehelper
5959
run: |
60+
export GOMODCACHE="${{ github.workspace }}/.gomodcache"
61+
mkdir -p "$GOMODCACHE"
6062
mkdir -p ~/.devspace/devspacehelper/latest
6163
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-extldflags=-static" -o ~/.devspace/devspacehelper/latest/devspacehelper helper/main.go
6264
chmod +x ~/.devspace/devspacehelper/latest/devspacehelper

0 commit comments

Comments
 (0)