From 1bd0bb9ae20b523f3511c9c029a333d7747a437f Mon Sep 17 00:00:00 2001 From: A lucky guy <79245287+tom-snow@users.noreply.github.com> Date: Tue, 1 Aug 2023 11:35:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Drelease=20=E7=9A=84=20?= =?UTF-8?q?action=20=E5=8F=AA=E6=8B=89=E4=B8=BB=E4=BB=93=E5=BA=93=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20checkout=20=E5=8F=AF=E8=83=BD=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#1999)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35f4ace..39a7985 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,8 @@ jobs: - name: Checkout run: | 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 uses: actions/setup-go@v3