mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
fix(goreleaser): checkout
This commit is contained in:
parent
e6e30c0a10
commit
3ccc2c6087
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -9,6 +9,17 @@ jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user