1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

fix(goreleaser): checkout

This commit is contained in:
源文雨 2023-03-18 11:50:40 +08:00
parent e6e30c0a10
commit 3ccc2c6087

View File

@ -9,6 +9,17 @@ jobs:
goreleaser: goreleaser:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout
run: |
git version
ls -hl
git config --global --add safe.directory /home/runner/work/go-cqhttp/go-cqhttp
git init /home/runner/work/go-cqhttp/go-cqhttp
cd /home/runner/work/go-cqhttp/go-cqhttp
git remote add origin https://github.com/Mrs4s/go-cqhttp
git config --local gc.auto 0
git pull origin master
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with: