fix: fix build run conditions

This commit is contained in:
Svyatoslav Shchipunov
2024-10-02 10:52:39 +07:00
parent fa7bf7cfb0
commit 77ee2bf7cc
2 changed files with 12 additions and 9 deletions

View File

@@ -1,12 +1,13 @@
name: Create Release on Tag
# on: [workflow_dispatch]
on:
push:
tags:
- "v*.*.*"
release:
types:
- published
jobs:
generate-config:
if: github.event.release.tag_name =~ '^v[0-9]+\.[0-9]+\.[0-9]+$' # Условие для проверки формата тега
runs-on: ubuntu-latest
outputs:
job-config: ${{ steps.generate-config.outputs.job-config }}