From 6fdbd212e5afa64b28b737bc2b74e3e44d1ae039 Mon Sep 17 00:00:00 2001 From: Khushal Jethava Date: Fri, 27 Dec 2024 16:15:18 +0530 Subject: [PATCH] fix some bug --- .github/workflows/docs-build.yml | 2 +- .github/workflows/python-publish.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index a655e5e..408f9f3 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -28,7 +28,7 @@ jobs: run: | pip install --no-cache-dir Cython pip install -r requirements.txt -r requirements_dev.txt - pip install . + python setup.py install - name: Discover typos with codespell run: codespell --skip="*.csv,*.geojson,*.json,*.js,*.html,*cff,*.pdf,./.git" --ignore-words-list="aci,acount,hist" - name: PKG-TEST diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index c880459..901f157 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -22,16 +22,16 @@ jobs: ${{ runner.os }}-pip- - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Install dependencies KH run: | python -m pip install --upgrade pip pip install setuptools pip install wheel pip install twine - - name: Build and publish + - name: Build and publish KH env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}