Skip to content

Commit

Permalink
test if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Apr 3, 2024
1 parent e013d14 commit c19c674
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

0 comments on commit c19c674

Please sign in to comment.