54 lines
1.2 KiB
Markdown
54 lines
1.2 KiB
Markdown
# Delete Package Versions
|
|
|
|
This action deletes versions of a package from [GitHub Packages](https://github.com/features/packages).
|
|
|
|
__What It Can Do:__
|
|
|
|
* Delete a single version
|
|
* Delete multiple versions
|
|
* Delete specific version(s)
|
|
* Delete oldest version(s)
|
|
* Delete version(s) from a package that is hosted in the same repo that is executing the workflow
|
|
* Delete version(s) from a package that is hosted in a different repo than the one executing the workflow
|
|
|
|
<table>
|
|
<tr>
|
|
<th><a href="#usage">Usage</a></th>
|
|
</tr>
|
|
<tr>
|
|
<th><a href="#scenarios">Scenarios</a></th>
|
|
</tr>
|
|
<tr>
|
|
<th><a href="#license">License</a></th>
|
|
</tr>
|
|
</table>
|
|
|
|
_*Note: [GitHub Packages](https://github.com/features/packages) does not currently support deleting an entire package at once. To effectively delete an entire package all versions of the package must be deleted individually._
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
|
|
|
|
# Scenarios
|
|
|
|
|
|
|
|
## Delete a single version
|
|
|
|
### Delete
|
|
|
|
|
|
|
|
## Delete a specific single version by Id from a package hosted in the same repo that is executing the workflow
|
|
|
|
|
|
|
|
|
|
|
|
# License
|
|
|
|
The scripts and documentation in this project are released under the [MIT License](https://github.com/actions/delete-package-versions/blob/master/LICENSE)
|
|
|