From c19c674a2fb4b148d5f17759839da373fd389169 Mon Sep 17 00:00:00 2001 From: Agustin Borgna Date: Wed, 3 Apr 2024 11:20:32 +0100 Subject: [PATCH] test if statement --- .github/workflows/python-wheels.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index 444bd3525..298b1d8d0 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -30,8 +30,6 @@ jobs: with: python-version: '3.10' cache: "poetry" - #- name: Install the project libraries - # run: poetry install - name: Build sdist and wheels run: | @@ -50,7 +48,10 @@ jobs: if: github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/${{ matrix.package }}-v') run: | + echo "Event name is ${{ github.event_name }}" + echo "Ref type is ${{ github.ref_type }}" + echo "Ref is ${{ github.ref }}" cd ${{ matrix.package }} poetry config repositories.test-pypi https://test.pypi.org/legacy/ poetry config pypi-token.test-pypi ${{ secrets.PYPI_TEST_PUBLISH }} - poetry publish -r test-pypi --dist-dir ../dist + poetry publish -r test-pypi --dist-dir ../dist --skip-existing