diff --git a/.github/workflows/regenerate-library.yml b/.github/workflows/regenerate-library.yml index d0d28d29..b9028707 100644 --- a/.github/workflows/regenerate-library.yml +++ b/.github/workflows/regenerate-library.yml @@ -16,17 +16,17 @@ jobs: with: python-version: '3.10' - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pipenv - pipenv install - run pipenv shell + uses: VaultVulp/action-pipenv@v2.0.1 + with: + command: install -d + - name: Delete folder run: | rm -rf meraki - name: Regenerate Python Library - run: | - python generator/generate_library.py -g true -v ${{ github.event.inputs.library_version }} + uses: VaultVulp/action-pipenv@v2.0.1 + with: + command: 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: