From ebc9af40207ca803807383a7df98769c649c3a59 Mon Sep 17 00:00:00 2001 From: David Irvine Date: Tue, 24 Dec 2024 00:50:55 +0000 Subject: [PATCH] fix: workflow --- .github/workflows/python-publish-client.yml | 2 +- .github/workflows/python-publish-node.yml | 2 +- autonomi/pyproject.toml | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish-client.yml b/.github/workflows/python-publish-client.yml index 994a1d98d3..47ab962a54 100644 --- a/.github/workflows/python-publish-client.yml +++ b/.github/workflows/python-publish-client.yml @@ -152,7 +152,7 @@ jobs: uses: PyO3/maturin-action@v1 with: command: sdist - args: --out dist --sdist-include README_PYTHON.md,Cargo.toml,src/*,python/*,pyproject.toml + args: --out dist working-directory: ./autonomi - name: Upload sdist uses: actions/upload-artifact@v4 diff --git a/.github/workflows/python-publish-node.yml b/.github/workflows/python-publish-node.yml index 2bbb3a7f69..cea25552d5 100644 --- a/.github/workflows/python-publish-node.yml +++ b/.github/workflows/python-publish-node.yml @@ -152,7 +152,7 @@ jobs: uses: PyO3/maturin-action@v1 with: command: sdist - args: --out dist --sdist-include README_PYTHON.md,Cargo.toml,src/*,python/*,pyproject.toml + args: --out dist working-directory: ./ant-node - name: Upload sdist uses: actions/upload-artifact@v4 diff --git a/autonomi/pyproject.toml b/autonomi/pyproject.toml index e57c2b7650..d1aa2b3e55 100644 --- a/autonomi/pyproject.toml +++ b/autonomi/pyproject.toml @@ -34,7 +34,13 @@ features = ["extension-module"] module-name = "autonomi_client" python-source = "python" bindings = "pyo3" -include = ["Cargo.toml"] +include = [ + "README_PYTHON.md", + "Cargo.toml", + "src/*", + "python/*", + "pyproject.toml", +] manifest-path = "Cargo.toml" [tool.pytest.ini_options]