Skip to content

Commit

Permalink
add on.workflow_call.secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
erikayasuda committed Oct 18, 2024
1 parent a61a76c commit b9728c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Build

on:
workflow_call:
secrets:
PYPI_TOKEN:
description: 'A token for accessing PyPI'
required: true
pull_request:
release:
types:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b9728c0

Please sign in to comment.