Skip to content

Commit

Permalink
测试github打包
Browse files Browse the repository at this point in the history
  • Loading branch information
Mujio-killer committed Dec 17, 2023
1 parent a6ff46e commit f92c353
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: test_release
on:
# 手动触发
workflow_dispatch:

push:
# 匹配特定标签 (refs/tags)
tags:
- 'v*' # 推送事件匹配 v*, 例如 v1.0,v20.15.10 等来触发工作流
# 具体任务
jobs:
# 任务名称
Expand All @@ -17,14 +20,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: 输出标签名称
run: echo "标签名称是 ${{ steps.get_version.outputs.Version }}"

- name: Query version number
id: get_version
run: |
echo "using version tag ${GITHUB_REF:6}"
echo ::set-output name=Version::"${GITHUB_REF:6}"
echo "using version tag ${GITHUB_REF:10}"
echo ::set-output name=Version::"${GITHUB_REF:10}"
- name: Create Release
id: create-release
Expand Down

0 comments on commit f92c353

Please sign in to comment.