From 54372aeb310842d47c437095faf131854a53264a Mon Sep 17 00:00:00 2001 From: "Schmieder, Jacob" Date: Wed, 15 May 2024 08:31:32 +0000 Subject: [PATCH] added steps --- .github/workflows/pypi.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 9df81aa..79d5720 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -14,15 +14,19 @@ on: type: boolean jobs: - uses: actions/checkout@v4 - + Build-and-publish-to-Test-PyPI: - if: ${{ !(startsWith(github.ref, 'refs/tags')) || (inputs.test == true) }} - uses: JRubics/poetry-publish@v2.0 - with: - plugins: "poetry-dynamic-versioning" - repository_name: "scraibe" - repository_url: "https://test.pypi.org/legacy/" + name: Build and Publish to Test PyPI + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Poetry 📦 + if: ${{ !(startsWith(github.ref, 'refs/tags')) || (inputs.test == true) }} + uses: JRubics/poetry-publish@v2.0 + with: + plugins: "poetry-dynamic-versioning" + repository_name: "scraibe" + repository_url: "https://test.pypi.org/legacy/" test-install: name: Test Installation from TestPyPI