Skip to content

Commit

Permalink
Updated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
olegtarasov committed Dec 6, 2024
1 parent 945cf9c commit 2958a50
Show file tree
Hide file tree
Showing 7 changed files with 32,199 additions and 14,201 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Dead simple:

```yaml
steps:
- uses: olegtarasov/[email protected].3
- uses: olegtarasov/[email protected].4
id: tagName
with:
tagRegex: "foobar-(.*)" # Optional. Returns specified group text as tag name. Full tag string is returned if regex is not defined.
Expand All @@ -28,12 +28,12 @@ You can also use named regex groups (thanks to PR from @jelgblad):
```yaml
steps:
- uses: olegtarasov/[email protected].3
- uses: olegtarasov/[email protected].4
id: tagName
with:
tagRegex: "(?<package>.*)-(?<version>.*)"
tagRegex: "(?<package>.*)-(?<version>.*)"
- name: Some other step # Output usage example
with:
dirname: ${{ steps.tagName.outputs.package }}
tagname: ${{ steps.tagName.outputs.version }}
```
```
Loading

0 comments on commit 2958a50

Please sign in to comment.