Add CI step for ft_rest_client

This commit is contained in:
Matthias
2024-03-29 09:07:43 +01:00
parent 46622f6172
commit bd49ad6420

View File

@@ -467,6 +467,19 @@ jobs:
dist dist
retention-days: 10 retention-days: 10
- name: Build Client distribution
run: |
pip install -U build
python -m build --sdist --wheel ft_client
- name: Upload artifacts 📦
uses: actions/upload-artifact@v4
with:
name: freqtrade-client-build
path: |
ft_client/dist
retention-days: 10
deploy-pypi: deploy-pypi:
name: "Deploy to PyPI" name: "Deploy to PyPI"
needs: [ build ] needs: [ build ]
@@ -484,8 +497,10 @@ jobs:
- name: Download artifact 📦 - name: Download artifact 📦
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: freqtrade-build name: freqtrade*-build
path: dist path: dist
merge-multiple: true
- name: Publish to PyPI (Test) - name: Publish to PyPI (Test)
uses: pypa/gh-action-pypi-publish@v1.8.14 uses: pypa/gh-action-pypi-publish@v1.8.14