From 8d907fb7e3a8e4c396444c5294205ae818ff4fbf Mon Sep 17 00:00:00 2001 From: JulesBelveze Date: Tue, 6 Jun 2023 10:32:10 +0200 Subject: [PATCH] fix(CI): attempt pypi publish --- .github/workflows/release.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 51fee71..15445af 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,16 +9,21 @@ env: jobs: pypi_release: name: Poetry Build and PyPI Publish - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - name: Checkout Code uses: actions/checkout@v2 - name: Setup Python uses: actions/setup-python@v2 + with: + python-version: 3.8 - name: Install Poetry run: | + python -m venv .env + source .env/bin/activate pip install --upgrade pip - pip install poetry==$POETRY_VERSION + pip install lockfile poetry==$POETRY_VERSION + poetry install poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}" - name: Build package run: poetry install