Skip to content

Commit 94c0034

Browse files
authored
Update automated_release.yml
1 parent 8c84714 commit 94c0034

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/automated_release.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,19 @@ jobs:
2323
with:
2424
repo_token: "${{ secrets.GITHUB_TOKEN }}"
2525
prerelease: false
26-
- uses: ./.github/actions/python-publish
26+
- name: Set up Python
27+
uses: actions/setup-python@v2
28+
with:
29+
python-version: '3.x'
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install setuptools wheel twine
34+
- name: Build and publish
35+
env:
36+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
37+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
38+
run: |
39+
python setup.py sdist bdist_wheel
40+
twine check dist/*
41+
twine upload dist/*

0 commit comments

Comments
 (0)