From bab988b18238f93acaec32c4d501de1d3b650db9 Mon Sep 17 00:00:00 2001 From: Fabrice Brito Date: Fri, 13 Dec 2024 12:16:54 +0100 Subject: [PATCH] CI package.yaml --- .github/workflows/package.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 6b825e2..d155dc9 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -31,15 +31,8 @@ jobs: - name: Build package run: hatch build - name: Test package - run: hatch -e test run nose2 --verbose - - name: Publish package distributions to Test PyPI - if: github.ref != 'refs/heads/master' - uses: pypa/gh-action-pypi-publish@release/v1 - with: - skip-existing: true - repository-url: https://test.pypi.org/legacy/ + run: hatch -e test run nose2 --verbose - name: Publish package distributions to PyPI - if: github.ref == 'refs/heads/master' uses: pypa/gh-action-pypi-publish@release/v1 with: skip-existing: true