diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index ffc012fd..33bbf4e9 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -41,30 +41,30 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - name: Install Poetry and dependencies + - name: Install Poetry run: | python -m pip install --upgrade pip pip install poetry - - name: Setup and install dependencies + - name: Change to the lightrag directory and install dependencies run: | cd lightrag - poetry env use python${{ matrix.python-version }} -vvv - poetry install --no-dev -vvv + poetry install --no-dev - name: Build the distribution run: | - poetry build -vvv + cd lightrag + poetry build - name: Upload distribution for publishing uses: actions/upload-artifact@v2 with: name: dist - path: dist/** + path: lightrag/dist/ dry-run-publish: @@ -72,7 +72,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -99,7 +99,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -141,7 +141,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }}