mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
fix: 修复release 的 action 只拉主仓库,修复 checkout 可能的问题 (#1999)
This commit is contained in:
parent
b8527721c2
commit
1bd0bb9ae2
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -12,7 +12,8 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
git version
|
git version
|
||||||
git clone https://github.com/Mrs4s/go-cqhttp.git /home/runner/work/go-cqhttp/go-cqhttp
|
git clone "${{ github.event.repository.html_url }}" /home/runner/work/go-cqhttp/go-cqhttp
|
||||||
|
git checkout "${{ github.ref }}"
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user