Skip to content

Commit 32b3292

Browse files
committed
Allow trigger build ci to build with specified c++ standard manually
1 parent 3af743f commit 32b3292

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

+12
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ on:
1515
- '**.md'
1616
- '**/*.md.in'
1717
- 'docs/**'
18+
workflow_dispatch:
19+
inputs:
20+
cxxstd:
21+
# actions run ID
22+
description: 'Please input cxxstd, example: 23'
23+
# Default value if no value is explicitly provided
24+
default: '23'
25+
# Input has to be provided for the workflow to run
26+
required: false
27+
28+
env:
29+
__1K_CXXSTD: '${{ inputs.cxxstd }}'
1830

1931
jobs:
2032
win32:

0 commit comments

Comments
 (0)