Skip to content

Commit 47437c0

Browse files
committed
Install dependencies publish actions
change action name change dir change dir change dir change dir
1 parent 9640050 commit 47437c0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish_pypi.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Docker Images
1+
name: Publish to PyPi
22
on:
33
release:
44
types: [published]
@@ -22,6 +22,10 @@ jobs:
2222
export DIFFGRAM_SDK_VERSION=${{ env.RELEASE_VERSION }}
2323
- name: Echo
2424
run: echo ${{ steps.tag.outputs.result }}
25+
- name: Install Dependencies
26+
run: |
27+
cd sdk
28+
pip install -r requirements.txt
2529
- name: Install Twine
2630
run: |
2731
sudo apt-get update -y
@@ -31,4 +35,6 @@ jobs:
3135
cd sdk
3236
python setup.py sdist bdist_wheel
3337
- name: Upload with Twine
34-
run: twine upload dist/* --skip-existing --username ${{ secrets.TWINE_PASSWORD }} --password ${{ secrets.TWINE_USERNAME }}
38+
run: |
39+
cd sdk
40+
twine upload dist/* --skip-existing --username ${{ secrets.TWINE_PASSWORD }} --password ${{ secrets.TWINE_USERNAME }}

0 commit comments

Comments
 (0)