diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index ec462bd..a567c6c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -255,10 +255,11 @@ jobs: python-version: ${{ env.python-version }} - name: Install Maturin - run: sudo apt update && sudo apt install -y python3-maturin + working-directory: ./pyfinlib + run: python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt - name: Publish working-directory: ./pyfinlib - run: maturin publish --repository-url https://gitea.sheep-ghoul.ts.net/api/packages/sarsoo/pypi/simple + run: source .venv/bin/activate && maturin publish --repository-url https://gitea.sheep-ghoul.ts.net/api/packages/sarsoo/pypi/simple env: MATURIN_PYPI_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} \ No newline at end of file