From 2577f347d1da51c56687ad74984bf53b11d14fd7 Mon Sep 17 00:00:00 2001 From: "Schmieder, Jacob" Date: Wed, 15 May 2024 16:23:47 +0000 Subject: [PATCH] added first test for a nighlty build --- .github/workflows/pypi.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 06bbb3a..9181e65 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -21,8 +21,13 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: '0' + - name: Setup package Name + if: ${{ github.ref_name == 'pyproject.toml'}} + run: | + sed -i 's/name = "scraibe"/name = "scraibe-nightly"/' pyproject.toml + echo "You are running on the develop branch deploying to nightly!" - name: Set up Poetry 📦 - if: ${{ !(startsWith(github.ref, 'refs/tags'))}} + if: ${{ !(startsWith(github.ref, 'refs/tags')) }} uses: JRubics/poetry-publish@v1.16 with: pypi_token: ${{ secrets.TEST_PYPI_API_TOKEN }}