ci: 💚 Fail if there is no tag
Some checks failed
CI / build (push) Failing after 38s

This commit is contained in:
Louis Gallet 2023-11-28 23:25:56 +01:00
parent 700500602e
commit f5508733f2
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY

View File

@ -14,6 +14,8 @@ jobs:
with:
tagRegex: "test-(.+)" # Optional. Returns specified group text as tag name. Full tag string is returned if regex is not defined.
tagRegexGroup: 1 # Optional. Default is 1.
failOnNoTag: true # Optional. Default is false.
- name: Show tag name
run: echo ${{ steps.tagName.outputs.tag }}
- name: Checkout code
uses: actions/checkout@v3