Update version in readme from v4 to v5
This commit is contained in:
@@ -17,7 +17,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
|
|||||||
# Usage
|
# Usage
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
# Can be a single package version id, or a comma separated list of package version ids.
|
# Can be a single package version id, or a comma separated list of package version ids.
|
||||||
# Defaults to an empty string.
|
# 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
|
Delete all pre-release package versions except latest 10
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
package-type: 'npm'
|
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
|
Delete all pre-release package versions except latest 10 from a repo not having access to package
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
owner: 'github'
|
owner: 'github'
|
||||||
package-name: 'test-package'
|
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
|
Delete all untagged versions except latest 10
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
package-type: 'container'
|
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
|
Delete all except latest 3 package versions excluding major versions as per semver
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
package-type: 'npm'
|
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
|
Delete all except latest 3 package versions excluding major versions as per semver from a repo not having access to package
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
owner: 'github'
|
owner: 'github'
|
||||||
package-name: 'test-package'
|
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
|
Delete 3 oldest versions excluding major versions as per semver
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
package-type: 'npm'
|
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
|
Delete 3 oldest versions excluding major versions as per semver from a repo not having access to package
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
owner: 'github'
|
owner: 'github'
|
||||||
package-name: 'test-package'
|
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
|
Delete all except latest 2 versions of a package hosted
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
package-type: 'npm'
|
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
|
Delete all except latest 2 versions of a package hosted from a repo not having access to package
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
owner: 'github'
|
owner: 'github'
|
||||||
package-name: 'test-package'
|
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
|
Delete the oldest 3 version of a package hosted
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
package-type: 'npm'
|
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
|
Delete the oldest 3 version of a package hosted from a repo not having access to package
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
owner: 'github'
|
owner: 'github'
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
@@ -320,7 +320,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
|
|||||||
__Example__
|
__Example__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
package-type: 'npm'
|
package-type: 'npm'
|
||||||
@@ -331,7 +331,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
|
|||||||
__Example__
|
__Example__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
owner: 'github'
|
owner: 'github'
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
@@ -350,7 +350,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
|
|||||||
__Example__
|
__Example__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
|
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
@@ -364,7 +364,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
|
|||||||
__Example__
|
__Example__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
|
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
@@ -383,7 +383,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
|
|||||||
__Example__
|
__Example__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
|
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
@@ -397,7 +397,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
|
|||||||
__Example__
|
__Example__
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/delete-package-versions@v4
|
- uses: actions/delete-package-versions@v5
|
||||||
with:
|
with:
|
||||||
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
|
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
|
||||||
package-name: 'test-package'
|
package-name: 'test-package'
|
||||||
|
|||||||
Reference in New Issue
Block a user