Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ jobs:
# Define the PyPI environment for trusted publishing
environment:
name: pypi
url: https://pypi.org/p/parquet-path-rewriter # URL to your package on PyPI
url: https://pypi.org/p/lambda-rag-lite # URL to your package on PyPI

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
# Use a recent Python version known to work well for building
python-version: '3.9'

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build

- name: Build package
run: python -m build --sdist --wheel .

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# No API token needed here when using trusted publishing (permissions + environment)
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
# Use a recent Python version known to work well for building
python-version: "3.9"

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build

- name: Build package
run: python -m build --sdist --wheel .

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# No API token needed here when using trusted publishing (permissions + environment)