From d608c83fcc765f2b87d9ea0895d16a1c461dcf70 Mon Sep 17 00:00:00 2001 From: darkclip Date: Sat, 27 Jan 2024 01:08:23 +0800 Subject: [PATCH] update --- .github/workflows/checkout-better-cf-ip.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checkout-better-cf-ip.yml b/.github/workflows/checkout-better-cf-ip.yml index 7c62fafa..f0fb6b52 100644 --- a/.github/workflows/checkout-better-cf-ip.yml +++ b/.github/workflows/checkout-better-cf-ip.yml @@ -17,15 +17,17 @@ jobs: contents: write steps: - uses: actions/github-script@v7 - id: latest-tag + id: latest_tag with: #result-encoding: string retries: 3 script: | - return github.rest.repos.getLatestRelease({ + const ret = github.rest.repos.getLatestRelease({ owner: "XIU2", repo: "CloudflareSpeedTest" - }).data + }) + console.log(ret) + return ret - name: confirm release tag run: | - echo ${{ steps.latest-tag.outputs.result }} + echo ${{ steps.latest_tag.outputs.result }}