diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..8d1771c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +name: Publish to PyPI +on: + release: + types: [published] + +jobs: + pypi_release: + name: Builds Using Poetry and Publishes to PyPI + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install poetry + uses: abatilo/actions-poetry@v2 + - run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}" + - name: Publish package + run: poetry publish --build \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 342b196..c75e91c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "ragchecker" version = "0.1.0" -description = "" +description = "RAGChecker: A Fine-grained Framework For Diagnosing Retrieval-Augmented Generation (RAG) systems." authors = [ "Xiangkun Hu ", "Lin Qiu ",