Delete latest release
ActionsTags
(2)In this case i want keep my repository just 1 release.
name: Main
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Delete
uses: ame-yu/action-delete-latest-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: $ {{ github.repository }}
- name: Release
uses: softprops/action-gh-release@v1
with:
name: type-your-release-name
tag_name: tag-here
Delete latest release is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.