From 3f34bd497ba0b9aa008e43f6ae34f50646390ecd Mon Sep 17 00:00:00 2001 From: darkclip Date: Sat, 27 Jan 2024 01:16:53 +0800 Subject: [PATCH] update --- .github/workflows/checkout-better-cf-ip.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checkout-better-cf-ip.yml b/.github/workflows/checkout-better-cf-ip.yml index 2a3a68ed..8f787eb8 100644 --- a/.github/workflows/checkout-better-cf-ip.yml +++ b/.github/workflows/checkout-better-cf-ip.yml @@ -26,8 +26,19 @@ jobs: owner: "XIU2", repo: "CloudflareSpeedTest" }) - console.log(ret) + console.log(ret.data.tag_name) return ret.data.tag_name - - name: confirm release tag + - name: Checkout reference branch 1 + uses: actions/checkout@v4 + with: + repository: XIU2/CloudflareSpeedTest + ref: ${{steps.latest_tag.outputs.result}} + path: ref1 + - name: Checkout target branch + uses: actions/checkout@v4 + with: + ref: better-cf-ip + path: target + - name: Rebuild target branch run: | - echo ${{ steps.latest_tag.outputs.result }} + ls ref1