diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index da2f3f4..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Publish Python Package - -on: - release: - types: [published] - -jobs: - build-and-publish: - runs-on: ubuntu-latest - environment: pypi # Ensure this matches the environment name in PyPI - permissions: - id-token: write # Required for OIDC authentication - contents: read - - steps: - - name: Check out code - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' # Specify your Python version - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build - - - name: Build package - run: python -m build - - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - # No username or password needed for trusted publishing