From 3ddc029e3b36a75b1ac5ff320a69b80a7cb599fe Mon Sep 17 00:00:00 2001 From: JiJi Date: Wed, 25 Jan 2023 00:48:24 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dad1e9d..b6d0ede 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,14 @@ jobs: name: Publish to PyPI runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + cache: 'pip' + - run: | + pip install -r requirements.txt + python -m build - name: Publish a Python distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: