From e176398e2a643456b553423f1f8c59c2146b1429 Mon Sep 17 00:00:00 2001 From: juewuy Date: Mon, 22 Jan 2024 18:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0singbox=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=89=88actions=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update_singbox_core_test.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_singbox_core_test.yaml b/.github/workflows/update_singbox_core_test.yaml index f2407c3..c66a0f4 100644 --- a/.github/workflows/update_singbox_core_test.yaml +++ b/.github/workflows/update_singbox_core_test.yaml @@ -42,7 +42,9 @@ jobs: steps: - uses: actions/checkout@v4.1.1 with: - fetch-depth: 0 + repository: ${{ github.event.inputs.tag1 }} + ref: ${{ github.event.inputs.tag2 }} + fetch-depth: 1 - name: setup go uses: actions/setup-go@v4.1.0 @@ -119,7 +121,7 @@ jobs: with: repository: ${{ github.event.inputs.tag1 }} ref: ${{ github.event.inputs.tag2 }} - fetch-depth: 0 + fetch-depth: 1 - name: Setup Go uses: actions/setup-go@v5