Skip to content

Commit

Permalink
Merge pull request #86 from actions/nishthaGupta-patch-1
Browse files Browse the repository at this point in the history
Update version in readme
  • Loading branch information
nishthaGupta committed Jan 5, 2023
2 parents 9a08425 + 22f216e commit ba4d22f
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Expand Up @@ -17,7 +17,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
# Usage

```yaml
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
# Can be a single package version id, or a comma separated list of package version ids.
# Defaults to an empty string.
Expand Down Expand Up @@ -107,7 +107,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@v3
- uses: actions/delete-package-versions@v4
with:
package-name: 'test-package'
package-type: 'npm'
Expand All @@ -121,7 +121,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@v3
- uses: actions/delete-package-versions@v4
with:
owner: 'github'
package-name: 'test-package'
Expand All @@ -142,7 +142,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@v3
- uses: actions/delete-package-versions@v4
with:
package-name: 'test-package'
package-type: 'npm'
Expand All @@ -159,7 +159,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@v3
- uses: actions/delete-package-versions@v4
with:
owner: 'github'
package-name: 'test-package'
Expand All @@ -182,7 +182,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@v3
- uses: actions/delete-package-versions@v4
with:
package-name: 'test-package'
package-type: 'npm'
Expand All @@ -199,7 +199,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@v3
- uses: actions/delete-package-versions@v4
with:
owner: 'github'
package-name: 'test-package'
Expand All @@ -220,7 +220,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@v3
- uses: actions/delete-package-versions@v4
with:
package-name: 'test-package'
package-type: 'npm'
Expand All @@ -236,7 +236,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@v3
- uses: actions/delete-package-versions@v4
with:
owner: 'github'
package-name: 'test-package'
Expand All @@ -256,7 +256,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@v3
- uses: actions/delete-package-versions@v4
with:
package-name: 'test-package'
package-type: 'npm'
Expand All @@ -272,7 +272,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@v3
- uses: actions/delete-package-versions@v4
with:
owner: 'github'
package-name: 'test-package'
Expand All @@ -290,7 +290,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__

```yaml
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
package-name: 'test-package'
package-type: 'npm'
Expand All @@ -301,7 +301,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__

```yaml
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
owner: 'github'
package-name: 'test-package'
Expand All @@ -320,7 +320,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__

```yaml
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
package-name: 'test-package'
Expand All @@ -334,7 +334,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__

```yaml
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3'
package-name: 'test-package'
Expand All @@ -353,7 +353,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__

```yaml
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
package-name: 'test-package'
Expand All @@ -367,7 +367,7 @@ This action deletes versions of a package from [GitHub Packages](https://github.
__Example__

```yaml
- uses: actions/delete-package-versions@v3
- uses: actions/delete-package-versions@v4
with:
package-version-ids: 'MDE0OlBhY2thZ2VWZXJzaW9uOTcyMDY3, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzQ5, MDE0OlBhY2thZ2VWZXJzaW9uOTcyMzUw'
package-name: 'test-package'
Expand Down

0 comments on commit ba4d22f

Please sign in to comment.