From 7e800294e9eed072da77f9e3c5380217b710596e Mon Sep 17 00:00:00 2001 From: "Schmieder, Jacob" Date: Thu, 16 May 2024 08:00:15 +0000 Subject: [PATCH] check what is there --- .github/workflows/pypi.yml | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index aaa8c26..a85e026 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -28,28 +28,8 @@ jobs: plugins: "poetry-dynamic-versioning" repository_name: "scraibe" repository_url: "https://test.pypi.org/legacy/" - - - name: List virtual environments - run: ls -la /github/home/.cache/pypoetry/virtualenvs - - - name: Get the virtual environment path - run: echo "VENV_PATH=$(ls -d $HOME/.cache/pypoetry/virtualenvs/* | head -n 1)" >> $GITHUB_ENV - - - name: Activate the virtual environment and get version - run: | - source $VENV_PATH/bin/activate - VERSION=$(python -c "import scraibe; print(scraibe.__version__)") - echo "SCRAIBE_VERSION=$VERSION" >> $GITHUB_ENV - echo "SCRAIBE_VERSION=$VERSION" - env: - VENV_PATH: ${{ env.VENV_PATH }} - - - name: 'Upload Artifact' - uses: actions/upload-artifact@v4 - with: - name: build - path: ./sdist - retention-days: 5 + - name: Get list of available folders after checkout + run: ls -l test-install: