Skip to content

Commit 3742e95

Browse files
Adds build package
Signed-off-by: Elena Kolevska <[email protected]>
1 parent 331b967 commit 3742e95

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/pr-validation.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,24 @@ jobs:
3737
run: |
3838
pytest -m "not e2e" --verbose
3939
publish:
40-
needs: build
41-
if: startswith(github.ref, 'refs/tags/v')
42-
runs-on: ubuntu-latest
43-
env:
44-
TWINE_USERNAME: "__token__"
45-
steps:
46-
- uses: actions/checkout@v4
47-
- name: Set up Python 3.11
48-
uses: actions/setup-python@v5
49-
with:
50-
python-version: 3.11
51-
- name: Install dependencies
52-
run: |
53-
python -m pip install --upgrade pip
54-
pip install setuptools wheel twine
55-
- name: Build and publish Dapr Python SDK
56-
env:
57-
TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }}
58-
run: |
59-
python -m build
60-
twine upload dist/*
40+
needs: build
41+
if: startswith(github.ref, 'refs/tags/v')
42+
runs-on: ubuntu-latest
43+
env:
44+
TWINE_USERNAME: "__token__"
45+
steps:
46+
- uses: actions/checkout@v4
47+
- name: Set up Python 3.11
48+
uses: actions/setup-python@v5
49+
with:
50+
python-version: 3.11
51+
- name: Install dependencies
52+
run: |
53+
python -m pip install --upgrade pip
54+
pip install setuptools wheel twine build
55+
- name: Build and publish Dapr Python SDK
56+
env:
57+
TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASS }}
58+
run: |
59+
python -m build
60+
twine upload dist/*

0 commit comments

Comments
 (0)