ci: fix workflows

This commit is contained in:
long2ice
2023-02-15 10:53:24 +08:00
parent 38ddd063c3
commit ee58f979d4
2 changed files with 10 additions and 8 deletions

View File

@@ -8,8 +8,9 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: "3.x" python-version: "3.x"
- uses: abatilo/actions-poetry@v2 - name: Install and configure Poetry
- name: Config poetry run: |
run: poetry config experimental.new-installer false pip install -U pip poetry
poetry config virtualenvs.create false
- name: CI - name: CI
run: make ci run: make ci

View File

@@ -7,13 +7,14 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- uses: actions/setup-python@v1 - uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'
- uses: abatilo/actions-poetry@v2.1.3 - name: Install and configure Poetry
- name: Config poetry run: |
run: poetry config experimental.new-installer false pip install -U pip poetry
poetry config virtualenvs.create false
- name: Build dists - name: Build dists
run: make build run: make build
- name: Pypi Publish - name: Pypi Publish