File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed
finfeedapi/sec-api/sdk-config Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python SEC API SDK to PyPI
2+
3+ on :
4+ push :
5+ branches :
6+ - master # Or your primary branch name
7+ paths :
8+ - ' finfeedapi/sec-api/sdk/python/**' # Watch for changes in the Python SDK directory
9+
10+ jobs :
11+ pypi-publish :
12+ name : upload release to PyPI
13+ runs-on : ubuntu-latest
14+ defaults :
15+ run :
16+ working-directory : finfeedapi/sec-api/sdk/python
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Set up python
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : ' 3.10.12'
26+
27+ - name : Install build dependencies
28+ run : |
29+ python -m pip install --upgrade pip
30+ pip install build wheel setuptools twine
31+
32+ - name : Build package distributions
33+ # Change working directory to where your pyproject.toml or setup.py is located
34+ working-directory : finfeedapi/sec-api/sdk/python
35+ run : python -m build --sdist --wheel --outdir dist/ .
36+
37+ - name : deploy
38+ run : python -m twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }} || exit 0
Original file line number Diff line number Diff line change 22outputDir : sdk/python
33generatorName : python
44additionalProperties :
5- packageName : api-bricks-sec-api-rest
5+ packageName : api-bricks-sec-api-rest
66 projectName : API Bricks SEC API REST
77 generateSourceCodeOnly : true
You can’t perform that action at this time.
0 commit comments