Skip to content

Commit 28c9ef5

Browse files
Update regenerate-library.yml
1 parent 27dcbcd commit 28c9ef5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/regenerate-library.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Regenerate Python Library
22
on:
33
workflow_dispatch:
4+
inputs:
5+
library_version:
6+
description: 'The version of the new library'
7+
required: true
48

59
jobs:
610
build:
@@ -20,7 +24,7 @@ jobs:
2024
rm -rf meraki
2125
- name: Regenerate Python Library
2226
run: |
23-
python generator/generate_library.py -g true -v $RELEASE_NAME
27+
python generator/generate_library.py -g true -v ${{ github.event.inputs.library_version }}
2428
- name: Commit changes to new branch
2529
uses: EndBug/add-and-commit@v9
2630
with:

0 commit comments

Comments
 (0)