Skip to content

Commit

Permalink
update workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alleria1809 committed Jul 12, 2024
1 parent 13aad73 commit 41b0c84
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,38 +41,38 @@ 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:
needs: build-and-package
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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 41b0c84

Please sign in to comment.