We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6364136 commit d95ed8fCopy full SHA for d95ed8f
1 file changed
.github/workflows/release.yml
@@ -33,6 +33,13 @@ on:
33
push:
34
tags:
35
- 'v*'
36
+ workflow_dispatch:
37
+ inputs:
38
+ publish_release:
39
+ description: 'Crear GitHub Release (draft) con artifacts adjuntos'
40
+ required: false
41
+ default: false
42
+ type: boolean
43
44
# ------------------------------------------------------------
45
# PERMISSIONS: permisos que necesita el workflow.
@@ -210,6 +217,7 @@ jobs:
210
217
name: Create GitHub Release
211
218
runs-on: ubuntu-latest
212
219
needs: [build-windows, build-linux]
220
+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish_release == true && startsWith(github.ref, 'refs/tags/v') }}
213
221
214
222
steps:
215
223
- name: Checkout código
0 commit comments