Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

fix: update-version-and-ghtoken-permission #128

fix: update-version-and-ghtoken-permission

fix: update-version-and-ghtoken-permission #128

Workflow file for this run

name: Generate config.pyi
on:
pull_request:
branches: [ develop, 'release/**' ]
jobs:
generate-pyi:
timeout-minutes: 20
strategy:
matrix:
python-versions: ['3.10']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}
- name: Clone taipy-core
run: |
git clone --single-branch --branch ${{ github.base_ref }} https://github.com/Avaiga/taipy-core.git
cd taipy-core
git checkout release/2.4
cd ..
- name: Generate config.pyi
run: python stubs/generate_pyi.py
- name: Remove taipy-core folder
run: rm -fr taipy-core/
- uses: stefanzweifel/git-auto-commit-action@v4