diff --git a/.github/workflows/build-daily.yml b/.github/workflows/build-daily.yml index 8f3f815b1..dfafef8d3 100644 --- a/.github/workflows/build-daily.yml +++ b/.github/workflows/build-daily.yml @@ -10,11 +10,9 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Delete Release - uses: actions/github-script@v4 + uses: liudonghua123/delete-release-action@v1 with: - script: | - const { owner, repo } = context.repo - await github.repos.deleteRelease({ owner, repo, release_id: 'continuous' }) + release_name: 'continuous' - name: Create Release uses: ncipollo/release-action@v1 with: