From 3e4a7c01756fcf679350d053c328812cef97b6de Mon Sep 17 00:00:00 2001 From: dengdifan Date: Fri, 17 Jun 2022 18:26:58 +0200 Subject: [PATCH] fix dist twine check for github --- .github/workflows/dist.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index 3bfd0693c..11baa888f 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -43,8 +43,7 @@ jobs: run: | pip install twine last_dist=$(ls -t dist/autoPyTorch-*.tar.gz | head -n 1) - twine_output=`twine check "$last_dist"` - if [[ "$twine_output" != "Checking $last_dist: PASSED" ]]; then echo $twine_output && exit 1;fi + twine check "$last_dist" --strict - name: Install dist run: |