We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The behaviour with tags is strange.
For example:
With the following code
steps: - name: checkout code uses: actions/checkout@v2 - name: Version match uses: actions-ecosystem/action-regex-match@v2 id: version-match with: text: ${GITHUB_REF#refs/tags/} regex: '^(.*)'
With the tag '1.2.3', it matches '1.2.3'
But with the following code
steps: - name: checkout code uses: actions/checkout@v2 - name: Version match uses: actions-ecosystem/action-regex-match@v2 id: version-match with: text: ${GITHUB_REF#refs/tags/} regex: '^([0-9]*)'
Still with a same tag, it matches ''
And finally with the following code
steps: - name: checkout code uses: actions/checkout@v2 - name: Version match uses: actions-ecosystem/action-regex-match@v2 id: version-match with: text: '1.2.3' regex: '^([0-9]*)'
It matches '1'
Any idea why?
The text was updated successfully, but these errors were encountered:
There's no dots in ^([0-9]*) but 1.2.3 got dots.
Sorry, something went wrong.
that's it, I feel so ... Thanks a lot
No branches or pull requests
The behaviour with tags is strange.
For example:
With the following code
With the tag '1.2.3', it matches '1.2.3'
But with the following code
Still with a same tag, it matches ''
And finally with the following code
It matches '1'
Any idea why?
The text was updated successfully, but these errors were encountered: