From b9728c0c63ebeab0eef8dd60c94209aa5e2a3de7 Mon Sep 17 00:00:00 2001 From: erikayasuda Date: Fri, 18 Oct 2024 15:41:05 -0400 Subject: [PATCH] add on.workflow_call.secrets --- .github/workflows/build_deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index 325b805..852f129 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -1,6 +1,11 @@ name: Build on: + workflow_call: + secrets: + PYPI_TOKEN: + description: 'A token for accessing PyPI' + required: true pull_request: release: types: @@ -58,6 +63,7 @@ jobs: upload_pypi: needs: [build_wheel, build_sdist] runs-on: ubuntu-latest + # if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 with: