We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b0db6 commit b12b294Copy full SHA for b12b294
.github/workflows/deploy_on_pypi.yml
@@ -11,11 +11,12 @@ permissions:
11
contents: write
12
13
jobs:
14
-
+ run_test_suite:
15
+ uses: ./.github/workflows/python-test.yml
16
17
deploy:
18
runs-on: ubuntu-latest
19
+ needs: run_test_suite
20
21
steps:
22
- uses: actions/checkout@v3
@@ -30,7 +31,7 @@ jobs:
30
31
- name: Build package
32
run: python -m build
33
- name: Publish package
- uses: pypa/gh-action-pypi-publish@master
34
+ uses: pypa/gh-action-pypi-publish@release/v1
35
with:
36
user: __token__
37
password: ${{ secrets.PYPI_API_TOKEN }}
.github/workflows/python-test.yml
@@ -11,6 +11,7 @@ on:
pull_request:
branches:
- develop
+ workflow_call:
permissions:
contents: read
0 commit comments