diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 2fa1027c..a8326a86 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -102,7 +102,19 @@ jobs: POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_PASS }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} run: | + # List of ignored modules + ignored_folders=("dora-parler") + for dir in node-hub/*/ ; do + + # Get the base name of the directory (without the path) + base_dir=$(basename "$dir") + + if [[ " ${ignored_folders[@]} " =~ " ${base_dir} " ]]; then + echo "Skipping $base_dir as there is a hf model fetching issue..." + continue + fi + if [ -d "$dir" ]; then if [[ -f "$dir/Cargo.toml" && -f "$dir/pyproject.toml" ]]; then echo "Publishing $dir using maturin..." diff --git a/.github/workflows/pip-release.yml b/.github/workflows/pip-release.yml index a1d85b8c..e8bea26e 100644 --- a/.github/workflows/pip-release.yml +++ b/.github/workflows/pip-release.yml @@ -238,6 +238,13 @@ jobs: runs-on: ubuntu-22.04 if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/') needs: [linux, musllinux, musleabi, windows, macos, sdist] + strategy: + matrix: + repository: + - path: apis/python/node + name: dora-node-api + - path: binaries/cli + name: dora-rs-cli steps: - uses: actions/download-artifact@v4 - name: Publish to PyPI @@ -246,4 +253,4 @@ jobs: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_PASS }} with: command: upload - args: --non-interactive --skip-existing wheels-*/* + args: --non-interactive --skip-existing ${{ matrix.repository.name }}-*/*