From baa2c29e4121bba55618ff7ffb2f32d407462abc Mon Sep 17 00:00:00 2001 From: SergeoLacruz Date: Mon, 19 Feb 2024 11:14:51 +0100 Subject: [PATCH] publish on pypi. 2nd try --- .github/workflows/ci.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d36943..f6eb4a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,32 +29,3 @@ jobs: - name: Check style run: | flake8 . --max-line-length=100 --ignore=E731 - - publish: - # if: github.event_name == 'release' && github.event.action == 'published' - needs: [style-python] - name: 📦 Publish to PyPi - runs-on: ubuntu-latest - environment: - name: release - url: https://pypi.org/p/inventree-zebra-plugin - permissions: - id-token: write - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: "3.10" - - - name: Install build dependencies - run: pip install --upgrade wheel setuptools twine build - - - name: Build pip package - run: python3 -m build - - - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@release/v1