mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 16:56:54 +08:00
add upload test
This commit is contained in:
14
.github/workflows/python-publish.yml
vendored
14
.github/workflows/python-publish.yml
vendored
@@ -51,11 +51,10 @@ jobs:
|
|||||||
pip install numpy
|
pip install numpy
|
||||||
pip install cython
|
pip install cython
|
||||||
python setup.py bdist_wheel
|
python setup.py bdist_wheel
|
||||||
- name: Set up publish
|
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
|
||||||
with:
|
|
||||||
password: ${{ steps.mint-token.outputs.api-token }}
|
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: __token__
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|
||||||
@@ -78,10 +77,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install twine
|
pip install twine
|
||||||
- name: Set up publish
|
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
|
||||||
with:
|
|
||||||
password: ${{ steps.mint-token.outputs.api-token }}
|
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: __token__
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
twine upload dist/pyqlib-*-manylinux*.whl
|
twine upload dist/pyqlib-*-manylinux*.whl
|
||||||
|
|||||||
15
.github/workflows/test_upload.yml
vendored
15
.github/workflows/test_upload.yml
vendored
@@ -50,13 +50,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install numpy
|
pip install numpy
|
||||||
pip install cython
|
pip install cython
|
||||||
python scripts/publish.py
|
|
||||||
python setup.py bdist_wheel
|
python setup.py bdist_wheel
|
||||||
- name: Set up publish
|
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
|
||||||
with:
|
|
||||||
password: ${{ steps.mint-token.outputs.api-token }}
|
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: __token__
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
||||||
|
|
||||||
@@ -79,10 +77,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install twine
|
pip install twine
|
||||||
- name: Set up publish
|
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
|
||||||
with:
|
|
||||||
password: ${{ steps.mint-token.outputs.api-token }}
|
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
env:
|
||||||
|
TWINE_USERNAME: __token__
|
||||||
|
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl
|
twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl
|
||||||
|
|||||||
Reference in New Issue
Block a user