From 3059e40aec5707143335b4c29ac0a6e5c5f2db4f Mon Sep 17 00:00:00 2001 From: naiba Date: Sun, 13 Dec 2020 11:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20fix=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/agent.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index ded6840..86582df 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -20,10 +20,8 @@ jobs: uses: actions/setup-go@v2 - run: | go mod vendor - git config --global user.email "you@example.com" - git config --global user.name "Your Name" - git add . - git commit -a -m "vendor" + mv ./vendor/* /home/runner/go/src/ + git checkout . - name: Set up Go 1.10.8 uses: actions/setup-go@v2 with: