From 21cb9ad5756e269b5ec69a4bf6daa3c4e6303136 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 1 Aug 2023 16:14:16 -0700 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1b9c4848f28..517318bc60b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,7 +35,9 @@ jobs: PYPI_API_TOKEN: $PYPI_API_TOKEN # Use the environment variable in the job steps: - - checkout + - attach_workspace: + at: ~/project + # Check if setup.py is modified and publish to PyPI - run: name: PyPI publish @@ -62,7 +64,11 @@ workflows: jobs: - local_testing + - persist_to_workspace: + root: ~/project - publish_to_pypi: + requires: + - local_testing filters: branches: only: