Skip to content

Commit 163197c

Browse files
committed
Make CI_release callable manually
1 parent 4cf378c commit 163197c

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci_release.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ on:
66
- "v*"
77
schedule:
88
- cron: "0 13 * * 0"
9+
workflow_dispatch:
10+
inputs:
11+
standalone_branch_suffix:
12+
description: 'Suffix of the branch on standalone'
13+
required: false
14+
default: '.pre0'
915

1016
#┌───────────── minute (0 - 59)
1117
#│ ┌───────────── hour (0 - 23)
@@ -55,14 +61,14 @@ jobs:
5561
python_versions: '["3.7", "3.8", "3.9", "3.10"]'
5662
wheel: true
5763
wheelhouse: true
58-
standalone_suffix: ".pre0"
64+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
5965
secrets: inherit
6066

6167
docs:
6268
uses: ./.github/workflows/docs.yml
6369
with:
6470
ANSYS_VERSION: "232"
65-
standalone_suffix: ".pre0"
71+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
6672
event_name: ${{ github.event_name }}
6773
secrets: inherit
6874

@@ -71,7 +77,7 @@ jobs:
7177
with:
7278
ANSYS_VERSION: "232"
7379
python_versions: '["3.7", "3.8", "3.9", "3.10"]'
74-
standalone_suffix: ".pre0"
80+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
7581
secrets: inherit
7682

7783
retro_231:
@@ -106,7 +112,7 @@ jobs:
106112
uses: ./.github/workflows/pydpf-post.yml
107113
with:
108114
ANSYS_VERSION: "232"
109-
standalone_suffix: ".pre0"
115+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
110116
secrets: inherit
111117

112118
pydpf-post_231:
@@ -134,14 +140,14 @@ jobs:
134140
name: "gate"
135141
uses: ./.github/workflows/gate.yml
136142
with:
137-
standalone_suffix: ".pre0"
143+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
138144
secrets: inherit
139145

140146
docker_tests:
141147
name: "Build and Test on Docker"
142148
uses: ./.github/workflows/test_docker.yml
143149
with:
144-
standalone_suffix: ".pre0"
150+
standalone_suffix: ${{ github.event.inputs.standalone_branch_suffix || '.pre0' }}
145151
secrets: inherit
146152

147153
draft_release:

0 commit comments

Comments
 (0)