A simple GitHub action which deletes all assets attached to a release. It is mainly designed to make sure electron-builder doesn't fail upon a release.
Required Should only drafts be deleted?. Default true
.
Required The GitHub access token. This is required to delete the release assets. Default ``.
The version to delete the release assets for. If none is supplied, the package.json is read to get the version.
- name: Delete current release assets uses: Kellojo/delete-release-assets-action@v1.8 with: delete-only-drafts: true github-access-token: ${{ secrets.github_token }}