name: Delete Release Assets on: push jobs: deleteReleaseAssets: runs-on: ubuntu-latest steps: - name: Check out Git repository uses: actions/checkout@v1 - name: Delete current release assets uses: andreaswilli/delete-release-assets-action@v2.0.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} # tagPrefix: v tag: alpha deleteOnlyFromDrafts: false - name: Delete a Release uses: liudonghua123/delete-release-action@v1 with: release_name: 'alpha'