From ee58f979d4ef22a03012d86efb6fdb7b5f5b91c6 Mon Sep 17 00:00:00 2001 From: long2ice Date: Wed, 15 Feb 2023 10:53:24 +0800 Subject: [PATCH] ci: fix workflows --- .github/workflows/ci.yml | 7 ++++--- .github/workflows/pypi.yml | 11 ++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a97b33a..3717be8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,9 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.x" - - uses: abatilo/actions-poetry@v2 - - name: Config poetry - run: poetry config experimental.new-installer false + - name: Install and configure Poetry + run: | + pip install -U pip poetry + poetry config virtualenvs.create false - name: CI run: make ci diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 4e3abdd..a13b823 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -7,13 +7,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.x' - - uses: abatilo/actions-poetry@v2.1.3 - - name: Config poetry - run: poetry config experimental.new-installer false + - name: Install and configure Poetry + run: | + pip install -U pip poetry + poetry config virtualenvs.create false - name: Build dists run: make build - name: Pypi Publish