From 03d1acaf8fd33e792eb8830ca4431ac60dee5ea5 Mon Sep 17 00:00:00 2001 From: ZM25XC <78628186+ZM25XC@users.noreply.github.com> Date: Thu, 11 May 2023 10:41:16 +0800 Subject: [PATCH] Update publish_teenstudy.yml --- .github/workflows/publish_teenstudy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_teenstudy.yml b/.github/workflows/publish_teenstudy.yml index e7a381c..e6436e7 100644 --- a/.github/workflows/publish_teenstudy.yml +++ b/.github/workflows/publish_teenstudy.yml @@ -19,10 +19,11 @@ jobs: python-version: '3.10' - name: Install dependencies run: | - python -m pip install --upgrade pip build + python -m pip install --upgrade build twine - name: Build package run: | - python -m build --sdist --wheel --outdir dist/ . + python -m build + twine check --strict dist/* - name: Publish package uses: pypa/gh-action-pypi-publish@master with: