Skip to content

Commit 494190f

Browse files
authored
Update release.yaml
1 parent 0c47e43 commit 494190f

File tree

1 file changed

+1
-86
lines changed

1 file changed

+1
-86
lines changed

.github/workflows/release.yaml

+1-86
Original file line numberDiff line numberDiff line change
@@ -269,29 +269,7 @@ jobs:
269269
distx/install.sh
270270
env:
271271
GH_TOKEN: ${{ github.token }}
272-
- name: Install node
273-
uses: actions/setup-node@v3
274-
with:
275-
node-version: "16"
276-
registry-url: "https://registry.npmjs.org"
277-
- run: |
278-
npm publish --access public distx/npm/sqlite-vec-darwin-arm64.tar.gz
279-
npm publish --access public distx/npm/sqlite-vec-darwin-x64.tar.gz
280-
npm publish --access public distx/npm/sqlite-vec-linux-x64.tar.gz
281-
npm publish --access public distx/npm/sqlite-vec-windows-x64.tar.gz
282-
npm publish --access public distx/npm/sqlite-vec-wasm-demo.tar.gz
283-
npm publish --access public distx/npm/sqlite-vec.tar.gz
284-
env:
285-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
286-
- uses: ruby/setup-ruby@v1
287-
with:
288-
ruby-version: 3.2
289-
- run: |
290-
for file in distx/gem/*; do
291-
gem push "$file"
292-
done
293-
env:
294-
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
272+
295273
- uses: actions/setup-python@v5
296274
with:
297275
python-version: "3.12"
@@ -303,66 +281,3 @@ jobs:
303281
env:
304282
TWINE_USERNAME: __token__
305283
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
306-
upload-crate:
307-
runs-on: ubuntu-latest
308-
steps:
309-
- uses: actions/checkout@v4
310-
- uses: actions-rs/toolchain@v1
311-
with:
312-
toolchain: stable
313-
- run: ./scripts/vendor.sh
314-
- run: make sqlite-vec.h
315-
- run: make deps
316-
working-directory: ./bindings/rust
317-
- run: cargo publish --no-verify
318-
working-directory: ./bindings/rust
319-
env:
320-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
321-
322-
build-ncruces-go:
323-
runs-on: ubuntu-latest
324-
permissions:
325-
contents: write
326-
steps:
327-
- uses: actions/checkout@v4
328-
- run: make sqlite-vec.h
329-
- uses: actions/checkout@v4
330-
with:
331-
repository: ncruces/go-sqlite3
332-
path: go-sqlite3
333-
- run: git apply ../bindings/go/ncruces/go-sqlite3.patch
334-
working-directory: go-sqlite3/
335-
- run: |
336-
mkdir -p tools/
337-
[ -d "tools/wasi-sdk" ] || curl -#L "$WASI_SDK" | tar xzC tools &
338-
[ -d "tools/binaryen" ] || curl -#L "$BINARYEN" | tar xzC tools &
339-
wait
340-
341-
mv "tools/wasi-sdk"* "tools/wasi-sdk"
342-
mv "tools/binaryen"* "tools/binaryen"
343-
344-
sqlite3/download.sh
345-
embed/build.sh
346-
env:
347-
WASI_SDK: "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-23/wasi-sdk-23.0-x86_64-linux.tar.gz"
348-
BINARYEN: "https://github.com/WebAssembly/binaryen/releases/download/version_118/binaryen-version_118-x86_64-linux.tar.gz"
349-
working-directory: go-sqlite3/
350-
- uses: actions/checkout@v4
351-
with:
352-
repository: asg017/sqlite-vec-go-bindings
353-
path: sqlite-vec-go-bindings
354-
token: ${{secrets.NCRUCES_BINDINGS_REPO_PAT}}
355-
- run: |
356-
cp go-sqlite3/embed/sqlite3.wasm sqlite-vec-go-bindings/ncruces/sqlite3.wasm
357-
cp sqlite-vec.c sqlite-vec-go-bindings/cgo/sqlite-vec.c
358-
cp sqlite-vec.h sqlite-vec-go-bindings/cgo/sqlite-vec.h
359-
- run: |
360-
git config user.name "Alex Garcia"
361-
git config user.email "[email protected]"
362-
git add .
363-
git commit --allow-empty -m "AUTOMATED ${{ github.ref_name }}" || exit 0
364-
git tag "${{ github.ref_name }}"
365-
git push origin main "${{ github.ref_name }}"
366-
working-directory: sqlite-vec-go-bindings
367-
env:
368-
GITHUB_TOKEN: ${{secrets.NCRUCES_BINDINGS_REPO_PAT}}

0 commit comments

Comments
 (0)