From f7e24b7d239d3724ba0fdf9aed983366a6c7868b Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 16:56:41 +0800 Subject: [PATCH] update --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc243bb..7fcb037 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | + const { GitHub } = require('@actions/github/lib/utils'); const releaseResponse = await GitHub.repos.getLatestRelease({ owner: 'frida', repo: 'frida', @@ -46,6 +47,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | + const { GitHub } = require('@actions/github/lib/utils'); try { const releaseVersion = '${{ steps.pullFridaLatestRelease.outputs.FRIDA_VERSION }}' const releaseResponse = await GitHub.repos.getReleaseByTag({ @@ -151,6 +153,7 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | + const { GitHub } = require('@actions/github/lib/utils'); try { const releaseVersion = '${{ needs.check_version.outputs.FRIDA_VERSION }}' const releaseResponse = await GitHub.repos.getReleaseByTag({