Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Delete latest release

Actions
Delete latest release
v1
Star (6)

Delete latest before release

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.

About

Delete latest release
v1

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.