Skip to content

Commit

Permalink
Merge branch 'master' into v2-release
Browse files Browse the repository at this point in the history
  • Loading branch information
olegtarasov committed Feb 10, 2024
2 parents 14deb5c + 50b7cd9 commit 45e6ac6
Show file tree
Hide file tree
Showing 6 changed files with 1,255 additions and 441 deletions.
4 changes: 2 additions & 2 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/get-tag@v2.1.2
- uses: olegtarasov/get-tag@v2.1.3
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,7 +28,7 @@ You can also use named regex groups (thanks to PR from @jelgblad):

```yaml
steps:
- uses: olegtarasov/get-tag@v2.1.2
- uses: olegtarasov/get-tag@v2.1.3
id: tagName
with:
tagRegex: "(?<package>.*)-(?<version>.*)"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Get tag name'
description: 'Gets current tag name and puts it into an environment variable GIT_TAG_NAME.'
author: 'Oleg Tarasov'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
inputs:
tagRegex:
Expand Down
11 changes: 6 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 45e6ac6

Please sign in to comment.