From 7776581bf2b0a228d5883d8fb8321e5747518d39 Mon Sep 17 00:00:00 2001 From: Yuwei Ba Date: Mon, 30 Sep 2024 21:43:22 +1000 Subject: [PATCH] Update ci.yml Signed-off-by: Yuwei Ba --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b82b03b5..b0ad287bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -355,7 +355,7 @@ jobs: const tag = 'latest' const { owner, repo } = context.repo const { data: { id } } = await github.rest.repos.getReleaseByTag({ owner, repo, tag }) - await github.repos.deleteRelease({ owner, repo, release_id: id }) + await github.rest.repos.deleteRelease({ owner, repo, release_id: id }) - name: Update Latest Tag if: startsWith(github.ref, 'refs/heads/master')