Skip to content

Merge branch 'main_1228_merge' into 'main' #18

Merge branch 'main_1228_merge' into 'main'

Merge branch 'main_1228_merge' into 'main' #18

Workflow file for this run

name: PyPI-CI
# on:
# watch:
# types: started
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- 'webull-python-sdk-demos/**'
- 'LICENSE'
- 'NOTICE'
- 'README.md'
workflow_dispatch:
permissions:
contents: read
jobs:
push-webull-python-sdk-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run:
python -m pip install --upgrade pip && pip install build
- name: Build package
run: python -m build webull-python-sdk-core --sdist --wheel --outdir dist/
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
push-webull-python-sdk-quotes-core:
needs: push-webull-python-sdk-core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run:
python -m pip install --upgrade pip && pip install build
- name: Build package
run: python -m build webull-python-sdk-quotes-core --sdist --wheel --outdir dist/
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
push-webull-python-sdk-mdata:
needs: push-webull-python-sdk-quotes-core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run:
python -m pip install --upgrade pip && pip install build
- name: Build package
run: python -m build webull-python-sdk-mdata --sdist --wheel --outdir dist/
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
push-webull-python-sdk-trade-events-core:
needs: push-webull-python-sdk-mdata
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run:
python -m pip install --upgrade pip && pip install build
- name: Build package
run: python -m build webull-python-sdk-trade-events-core --sdist --wheel --outdir dist/
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
push-webull-python-sdk-trade:
needs: push-webull-python-sdk-trade-events-core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run:
python -m pip install --upgrade pip && pip install build
- name: Build package
run: python -m build webull-python-sdk-trade --sdist --wheel --outdir dist/
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}