From bd49ad642015932243037d3e2ea733826b316031 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 29 Mar 2024 09:07:43 +0100 Subject: [PATCH] Add CI step for ft_rest_client --- .github/workflows/ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3b0d6cb9..141f3786c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -467,6 +467,19 @@ jobs: dist 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: name: "Deploy to PyPI" needs: [ build ] @@ -484,8 +497,10 @@ jobs: - name: Download artifact 📦 uses: actions/download-artifact@v4 with: - name: freqtrade-build + name: freqtrade*-build path: dist + merge-multiple: true + - name: Publish to PyPI (Test) uses: pypa/gh-action-pypi-publish@v1.8.14