diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d0f85628..bfc49516 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,7 @@ jobs: run: cargo package --all-features - uses: softprops/action-gh-release@v1 with: + draft: true files: | rust/target/vectordb-*.crate @@ -55,11 +56,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.10 + python-version: "3.10" - name: Build wheel run: python setup.py sdist bdist_wheel - uses: softprops/action-gh-release@v1 with: + draft: true files: | python/dist/lancedb-*.tar.gz python/dist/lancedb-*.whl @@ -91,6 +93,7 @@ jobs: npm pack - uses: softprops/action-gh-release@v1 with: + draft: true files: node/vectordb-*.tgz node-macos: @@ -104,10 +107,13 @@ jobs: uses: actions/checkout@v2 - name: Install system dependencies run: brew install protobuf + - name: Install npm dependencies + run: npm ci - name: Build MacOS native node modules run: bash ci/build_macos_artifacts.sh ${{ matrix.target }} - uses: softprops/action-gh-release@v1 with: + draft: true files: node/dist/vectordb-darwin*.tgz node-linux: @@ -121,18 +127,24 @@ jobs: - aarch64-unknown-linux-musl - x86_64-unknown-linux-musl steps: + - name: Checkout + uses: actions/checkout@v2 - name: Install system dependencies run: | sudo apt update sudo apt install -y protobuf-compiler libssl-dev + cargo install cross + - name: Install npm dependencies + run: npm ci - name: Build Linux native node modules run: bash ci/build_linux_artifacts.sh ${{ matrix.target }} - uses: softprops/action-gh-release@v1 with: + draft: true files: node/dist/vectordb-linux*.tgz release: - needs: [python, node, node-macos, node-linux] + needs: [python, node, node-macos, node-linux, rust] runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v3