From 81e56da6cf0dd569a6312383fdb56cdb031f6b61 Mon Sep 17 00:00:00 2001 From: uubulb Date: Wed, 1 Jan 2025 00:16:04 +0800 Subject: [PATCH] perm --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9bfbac65f9..6d82b7868b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,8 +32,8 @@ jobs: - name: patch net/http/fs.go if: runner.os != 'Windows' run: | - patch -p0 --forward `go env GOROOT`/src/net/http/fs.go < ./script/patch/fs.patch || true - patch -p0 --forward `go env GOMODCACHE`/github.com/gin-gonic/gin@v1.10.0/context.go < ./script/patch/gin-context.patch || true + sudo patch -p0 --forward `go env GOROOT`/src/net/http/fs.go < ./script/patch/fs.patch || true + sudo patch -p0 --forward `go env GOMODCACHE`/github.com/gin-gonic/gin@v1.10.0/context.go < ./script/patch/gin-context.patch || true - name: patch net/http/fs.go (Windows) if: runner.os == 'Windows'