From 9fa9ee36a03288eaa6a3926e9ad1931d6a300a15 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Sun, 14 Jul 2024 13:47:49 -0700 Subject: [PATCH] try new ncruces repo --- .github/workflows/release.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e488993..d522074 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -232,7 +232,16 @@ jobs: WASI_SDK: "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-23/wasi-sdk-23.0-linux.tar.gz" BINARYEN: "https://github.com/WebAssembly/binaryen/releases/download/version_118/binaryen-version_118-x86_64-linux.tar.gz" working-directory: go-sqlite3/ - - run: cp go-sqlite3/embed/sqlite3.wasm sqlite-vec-$(cat VERSION)-ncruces-go.wasm - - run: gh release upload ${{ github.ref_name }} sqlite-vec-$(cat VERSION)-ncruces-go.wasm - env: - GH_TOKEN: ${{ github.token }} + - uses: actions/checkout@v4 + with: + repository: asg017/sqlite-vec-ncruces-bindings + path: sqlite-vec-ncruces-bindings + - run: cp go-sqlite3/embed/sqlite3.wasm sqlite-vec-ncruces-bindings/sqlite3.wasm + - run: | + git config user.name "Automated" + git config user.email "actions@users.noreply.github.com" + git add sqlite3.wasm + git commit --allow-empty -m "${{ github.ref_name }}" || exit 0 + git tag "${{ github.ref_name }}" + git push origin main "${{ github.ref_name }}" + working-directory: sqlite-vec-ncruces-bindings