Skip to content

Commit

Permalink
Change action dispatch method
Browse files Browse the repository at this point in the history
  • Loading branch information
DarcJC committed Jul 12, 2024
1 parent 8dad003 commit 3684084
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
name: Build and Release

on:
on:
workflow_dispatch:
inputs:
versionTag:
description: 'Version tag in release name'
required: false
default: string
default: 'v0.0.'
# push:
# tags:
# - 'release-v*' # 触发此工作流程的tag,格式为release-v*
workflow_dispatch: # 允许手动触发此工作流程
# workflow_dispatch: # 允许手动触发此工作流程

jobs:
build:
Expand Down

0 comments on commit 3684084

Please sign in to comment.