Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: omrishiv <[email protected]>
  • Loading branch information
omrishiv committed Jun 24, 2024
1 parent 615d788 commit df5ac99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
github-token: ${{ steps.generate-token.outputs.token }}
script: |
const latestRelease = await github.rest.repos.getReleaseByTag({ ${{ github.repository_owner }}, ${{ github.event.repository.name }}, ${{ env.PREVIOUS_NIGHTLY_TAG }} })
const latestRelease = await github.rest.repos.getRelease({ owner: ${{ github.repository_owner }}, repo: ${{ github.event.repository.name }}, title: ${{ env.PREVIOUS_NIGHTLY_TAG }} })
console.log(`Release ${latestRelease}`);
if (latestRelease && latestRelease.data && latestRelease.data.id) {
await github.rest.repos.deleteRelease({
Expand Down

0 comments on commit df5ac99

Please sign in to comment.