Skip to content

Commit 96f9ad3

Browse files
committed
Correcao pra tag via comando
1 parent 5a0dbf8 commit 96f9ad3

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
name: BuildWindows
2-
1+
name: BuildInstallCoops
32
on:
4-
push:
5-
tags:
6-
- '*'
7-
3+
workflow_dispatch:
4+
inputs:
5+
tagname:
6+
description: 'Tag'
7+
required: true
8+
default: ''
89
jobs:
910
build:
10-
1111
runs-on: windows-latest
12-
1312
steps:
1413
- uses: actions/checkout@v1
1514
- name: Set up Python 3.8
@@ -37,8 +36,8 @@ jobs:
3736
with:
3837
draft: false
3938
prerelease: false
40-
tag_name: ${{ github.ref }}
41-
release_name: ${{ github.ref }}
39+
tag_name: ${{ github.event.inputs.tagname }}
40+
release_name: ${{ github.event.inputs.tagename }}
4241
- name: upload windows artifact
4342
uses: actions/upload-release-asset@v1
4443
env:

0 commit comments

Comments
 (0)