Skip to content

Commit fa8fdad

Browse files
Make regenerate-library.yml Poetry-aware
1 parent b6b3b71 commit fa8fdad

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/regenerate-library.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Regenerate Python Library
2727
run: |
2828
poetry run python generator/generate_library.py -g true -v ${{ github.event.inputs.library_version }} -o ${{ secrets.TEST_ORG_ID }} -k ${{ secrets.TEST_ORG_API_KEY }}
29+
- name: Set new version for Poetry
30+
run: |
31+
sed -i "s/^version = \".*\"/version = \"${{ github.event.inputs.library_version }}\"/" pyproject.toml
2932
- name: Commit changes to new branch
3033
uses: EndBug/add-and-commit@v9
3134
with:

0 commit comments

Comments
 (0)