Skip to content

Commit

Permalink
Bump action version
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Apr 6, 2023
1 parent aadf1e6 commit 1026f80
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ See [ghcr.io and npm.pkg.github.com packages](#ghcrio-and-npmpkggithubcom-packag
> Delete old versions of the packages "package-1" and "package-2" for the current repository.
```yaml
uses: smartsquaregmbh/delete-old-packages@v0.6.0
uses: smartsquaregmbh/delete-old-packages@v0.7.0
with:
type: npm
names: |
Expand All @@ -50,7 +50,7 @@ with:
> Delete old versions of the packages "package-1" and "package-2" for the organization "my-organization".
```yaml
uses: smartsquaregmbh/delete-old-packages@v0.6.0
uses: smartsquaregmbh/delete-old-packages@v0.7.0
with:
type: npm
organization: my-organization
Expand All @@ -62,7 +62,7 @@ with:
> Delete old versions in the form of "1.0.0-RC1" of the package "package".
```yaml
uses: smartsquaregmbh/delete-old-packages@v0.6.0
uses: smartsquaregmbh/delete-old-packages@v0.7.0
with:
type: npm
version-pattern: "^\\d+\\.\\d+\\.\\d+-RC\\d+$" # The regex needs to be escaped!
Expand All @@ -73,7 +73,7 @@ with:
> Delete old versions with a lower semver version than 2.x of the package "package".
```yaml
uses: smartsquaregmbh/delete-old-packages@v0.6.0
uses: smartsquaregmbh/delete-old-packages@v0.7.0
with:
type: npm
semver-pattern: "<2.x"
Expand All @@ -84,7 +84,7 @@ with:
> Delete old versions of the package "package" but keep at least 5 versions.
```yaml
uses: smartsquaregmbh/delete-old-packages@v0.6.0
uses: smartsquaregmbh/delete-old-packages@v0.7.0
with:
type: npm
keep: 5
Expand All @@ -100,11 +100,11 @@ In these cases, the rate limit `retry after` returned from the github api during
If the rate limit is exceeded more than five times, the action will fail.

```yaml
uses: smartsquaregmbh/delete-old-packages@v0.6.0
uses: smartsquaregmbh/delete-old-packages@v0.7.0
with:
type: npm
rate-limit: true
keep: 5
names: |
package
```
```

0 comments on commit 1026f80

Please sign in to comment.