mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-14 01:13:09 +00:00
fix: fix build run conditions
This commit is contained in:
9
.github/workflows/build-module.yml
vendored
9
.github/workflows/build-module.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user