Skip to content

Commit 197776b

Browse files
committed
Add structures_folder input to struct-generate workflow
1 parent 4120691 commit 197776b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/struct-generate.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ on:
4848
type: string
4949
required: false
5050
default: ''
51+
structures_folder:
52+
description: 'Path to the structures folder'
53+
type: string
54+
required: false
55+
default: 'structures'
5156
secrets:
5257
token:
5358
description: 'GitHub token'
@@ -84,10 +89,10 @@ jobs:
8489
if [ -d ./custom-structures ]; then
8590
8691
struct list \
87-
-s ./custom-structures
92+
-s ./custom-structures/${{ inputs.structures_folder }}
8893
8994
struct generate \
90-
-s ./custom-structures \
95+
-s ./custom-structures/${{ inputs.structures_folder }} \
9196
${{ inputs.args }} \
9297
${{ inputs.struct_file }} \
9398
${{ inputs.output_dir }}

0 commit comments

Comments
 (0)