diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2cbcb48..9b80bcb 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -20,8 +20,10 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - github.repos.getReleaseByTag({ + var release = await github.repos.getReleaseByTag({ owner: context.repo.owner , repo: context.repo.repo, tag: process.env.RELEASE, - }); \ No newline at end of file + }) + + return release.id \ No newline at end of file