From 451c53ebc2b6b7830fdcca288648741d1de44dbc Mon Sep 17 00:00:00 2001 From: Christopher Carroll Smith Date: Wed, 6 Nov 2024 20:25:44 -0500 Subject: [PATCH] Adjusted Actions workflow --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85c318c..8a39c07 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,10 +26,10 @@ jobs: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} run: | # Attempt to publish and capture output - if OUTPUT=$(poetry publish --build -u __token__ -p $PYPI_TOKEN 2>&1); then + if OUTPUT=$(poetry publish --build --no-interaction -u __token__ -p $PYPI_TOKEN 2>&1); then echo "Package published successfully" else - echo "::warning::Not published to PyPi. Poetry output: $OUTPUT" + echo "::warning::Not published to PyPi. Did you increment the version number? Poetry output: $OUTPUT" fi # Ensure step exits successfully exit 0