Skip to content

Commit 1fc86bf

Browse files
committed
test release action
1 parent 9603e92 commit 1fc86bf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release-python.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
type: boolean
1616
schedule:
1717
- cron: '30 5 * * *'
18+
pull_request:
1819

1920
env:
2021
# Changes per repo
@@ -41,6 +42,9 @@ jobs:
4142
outputs:
4243
version: ${{ steps.pre-publish.outputs.version }}
4344
steps:
45+
- run: |
46+
env
47+
exit 1
4448
- uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
4549
with:
4650
app_id: ${{ vars.APP_ID }}
@@ -85,14 +89,12 @@ jobs:
8589
name: all-dist-${{ github.run_id }}
8690
path: dist/
8791
- name: Publish package distributions to TestPyPI
92+
if: startsWith(env.DRY_RUN, 'false')
8893
uses: pypa/gh-action-pypi-publish@release/v1
8994
with:
9095
repository-url: https://test.pypi.org/legacy/
9196
skip-existing: true
9297
attestations: ${{ env.DRY_RUN }}
93-
- name: Publish package distributions to PyPI
94-
if: startsWith(env.DRY_RUN, 'false')
95-
uses: pypa/gh-action-pypi-publish@release/v1
9698

9799
post-publish:
98100
needs: [publish]

0 commit comments

Comments
 (0)