Skip to content

Commit

Permalink
Update regenerate-library.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TKIPisalegacycipher authored Jul 16, 2024
1 parent ef9e959 commit f7c2c81
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/regenerate-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,28 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Set up pipenv
uses: actions/cache@v2
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-pipenv-${{ hashfiles('**/Pipfile.lock') }}
restore-keys: |
${{ runner.os }}-pipenv-
- name: Install dependencies
uses: VaultVulp/[email protected]
with:
command: install -d

run: |
python -m pip install --upgrade pip
pip install pipenv
pip install --deploy
- name: Delete folder
run: |
rm -rf meraki
- name: Regenerate Python Library
uses: VaultVulp/[email protected]
with:
command: python generator/generate_library.py -g true -v ${{ github.event.inputs.library_version }}
run: |
pipenv run python generator/generate_library.py -g true -v ${{ github.event.inputs.library_version }}
- name: Commit changes to new branch
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Action
author_email: [email protected]
message: Automatically regenerated library.
message: Automatically regenerated library to version ${{ github.event.inputs.library_version }}.
new_branch: release

0 comments on commit f7c2c81

Please sign in to comment.