From 68e4425542314b7866166b79e0b2f832a1ab6965 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 16:55:33 +0800 Subject: [PATCH] update --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bb0c2b..cc243bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - const releaseResponse = await github.repos.getLatestRelease({ + const releaseResponse = await GitHub.repos.getLatestRelease({ owner: 'frida', repo: 'frida', }) @@ -48,7 +48,7 @@ jobs: script: | try { const releaseVersion = '${{ steps.pullFridaLatestRelease.outputs.FRIDA_VERSION }}' - const releaseResponse = await github.repos.getReleaseByTag({ + const releaseResponse = await GitHub.repos.getReleaseByTag({ owner: '${{ steps.split_name.outputs.owner }}', repo: '${{ steps.split_name.outputs.repo }}', tag: releaseVersion @@ -153,7 +153,7 @@ jobs: script: | try { const releaseVersion = '${{ needs.check_version.outputs.FRIDA_VERSION }}' - const releaseResponse = await github.repos.getReleaseByTag({ + const releaseResponse = await GitHub.repos.getReleaseByTag({ owner: '${{ steps.split_name.outputs.owner }}', repo: '${{ steps.split_name.outputs.repo }}', tag: releaseVersion