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({