Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
type: boolean
schedule:
- cron: '30 5 * * *'
pull_request:

env:
# Changes per repo
Expand All @@ -41,6 +42,10 @@
outputs:
version: ${{ steps.pre-publish.outputs.version }}
steps:
- run: |
echo "DRY RUN? ${{ env.DRY_RUN}}"
echo "INPUTS? ${{inputs.dry_run}}"
exit 1
- uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
with:
app_id: ${{ vars.APP_ID }}
Expand Down Expand Up @@ -85,14 +90,12 @@
name: all-dist-${{ github.run_id }}
path: dist/
- name: Publish package distributions to TestPyPI
if: startsWith(env.DRY_RUN, 'false')
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
attestations: ${{ env.DRY_RUN }}
- name: Publish package distributions to PyPI
if: startsWith(env.DRY_RUN, 'false')
uses: pypa/gh-action-pypi-publish@release/v1

post-publish:
needs: [publish]
Expand Down
Loading