Merge pull request #160 from starkej2/patch-1

Update version in readme from v4 to v5
This commit is contained in:
Johanan Idicula
2024-03-06 08:38:14 -08:00
committed by GitHub

View File

@@ -17,7 +17,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
# Usage
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
# Can be a single package version id, or a comma separated list of package version ids.
# Defaults to an empty string.
@@ -118,7 +118,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete all pre-release package versions except latest 10
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-name: 'test-package'
package-type: 'npm'
@@ -132,7 +132,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete all pre-release package versions except latest 10 from a repo not having access to package
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
owner: 'github'
package-name: 'test-package'
@@ -153,7 +153,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete all untagged versions except latest 10
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-name: 'test-package'
package-type: 'container'
@@ -172,7 +172,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete all except latest 3 package versions excluding major versions as per semver
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-name: 'test-package'
package-type: 'npm'
@@ -189,7 +189,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete all except latest 3 package versions excluding major versions as per semver from a repo not having access to package
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
owner: 'github'
package-name: 'test-package'
@@ -212,7 +212,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete 3 oldest versions excluding major versions as per semver
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-name: 'test-package'
package-type: 'npm'
@@ -229,7 +229,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete 3 oldest versions excluding major versions as per semver from a repo not having access to package
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
owner: 'github'
package-name: 'test-package'
@@ -250,7 +250,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete all except latest 2 versions of a package hosted
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-name: 'test-package'
package-type: 'npm'
@@ -266,7 +266,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete all except latest 2 versions of a package hosted from a repo not having access to package
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
owner: 'github'
package-name: 'test-package'
@@ -286,7 +286,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete the oldest 3 version of a package hosted
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-name: 'test-package'
package-type: 'npm'
@@ -302,7 +302,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
Delete the oldest 3 version of a package hosted from a repo not having access to package
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
owner: 'github'
package-name: 'test-package'
@@ -320,7 +320,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-name: 'test-package'
package-type: 'npm'
@@ -331,7 +331,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
owner: 'github'
package-name: 'test-package'
@@ -350,7 +350,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
package-name: 'test-package'
@@ -364,7 +364,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
package-name: 'test-package'
@@ -383,7 +383,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
package-name: 'test-package'
@@ -397,7 +397,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__
```yaml
- uses: actions/delete-package-versions@v4
- uses: actions/delete-package-versions@v5
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
package-name: 'test-package'