We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6fffc2e + f52acd5 commit 6d98648Copy full SHA for 6d98648
1 file changed
.github/workflows/deployment.yml
@@ -32,8 +32,10 @@ jobs:
32
runs-on: ubuntu-latest
33
steps:
34
- name: Validate tag name format
35
+ env:
36
+ TAG_NAME: ${{ inputs.tag_name }}
37
run: |
- if [[ ! "${{ inputs.tag_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
38
+ if [[ ! "$TAG_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
39
echo "Invalid tag name format. Must be in the form v1.2.3"
40
exit 1
41
fi
0 commit comments