summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-02-18 01:32:44 -0500
committerGitHub <noreply@github.com>2021-02-18 01:32:44 -0500
commit67f5531019b17474b238827689c9b09d4e5e5790 (patch)
tree9882c44f7be5744eef91a9be94ae6fa396dc59c1 /.github
parent4555a113b6e0e78f67aefe36d6100de30d68db9d (diff)
ci: Fixes an incorrect action in the nightly build workflow (#411)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/nightly.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 7109c082..eda6c737 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -16,9 +16,17 @@ jobs:
- name: Create artifacts directory
run: mkdir artifacts
- - name: Create GitHub release
+ - name: Delete tag and release
+ uses: dev-drprasad/delete-tag-and-release@v0.1.3
+ with:
+ delete_release: true
+ tag_name: nightly
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Create nightly GitHub release
id: release
- uses: GongT/actions-recreate-release@v1
+ uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: