From 68ef8ac676f5d9204e7c4817e985a14cbb2f0477 Mon Sep 17 00:00:00 2001 From: long2ice Date: Wed, 8 Dec 2021 14:38:16 +0800 Subject: [PATCH] Fix ci --- .github/workflows/ci.yml | 6 +++--- .github/workflows/pypi.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db88c07..75efb6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,9 +26,9 @@ jobs: with: python-version: '3.x' - name: Install and configure Poetry - uses: snok/install-poetry@v1.1.1 - with: - virtualenvs-create: false + run: | + pip install -U pip poetry + poetry config virtualenvs.create false - name: CI env: MYSQL_PASS: root diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 3ee17f3..c07d631 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -12,9 +12,9 @@ jobs: with: python-version: '3.x' - name: Install and configure Poetry - uses: snok/install-poetry@v1.1.1 - with: - virtualenvs-create: false + run: | + pip install -U pip poetry + poetry config virtualenvs.create false - name: Build dists run: make build - name: Pypi Publish