@@ -59,14 +59,14 @@ jobs:
5959 shell : bash
6060 run : |
6161 if [ "${{ matrix.platform }}" = "darwin" ]; then ext="dylib"; else ext="so"; fi
62- cp "build/Release/keep_last.$ext" build/Release/${{ matrix.platform }}-${{ matrix.arch }}-keep_last .$ext
62+ cp "build/Release/keep_last.$ext" build/Release/keep_last- ${{ matrix.platform }}-${{ matrix.arch }}.$ext
6363
6464 # ----- Upload per-target artifact -----
6565 - name : Upload artifact
6666 uses : actions/upload-artifact@v4
6767 with :
6868 name : replic-sqlite-${{ matrix.platform }}-${{ matrix.arch }}
69- path : build/Release/${{ matrix.platform }}-${{ matrix.arch }}-keep_last .*
69+ path : build/Release/keep_last- ${{ matrix.platform }}-${{ matrix.arch }}.*
7070
7171 pack :
7272 name : Assemble & Publish
7979 - name : Download all artifacts
8080 uses : actions/download-artifact@v4
8181 with :
82- path : .
82+ path : build/
83+ merge-multiple : true
8384
8485 # List all files for debugging
8586 - name : List all files (debug)
@@ -99,16 +100,16 @@ jobs:
99100# echo "package.json: $PKG_VERSION, tag: $TAG"
100101# [ "$PKG_VERSION" = "$TAG" ] || { echo "Version mismatch"; exit 1; }
101102#
102- # - name: Setup Node (for publish)
103- # uses: actions/setup-node@v4
104- # with:
105- # node-version: '22.17.1'
106- # registry-url: 'https://registry.npmjs.org'
107- #
108- # - name: Preview npm tarball
109- # run: npm pack --dry-run
110- #
111- # - name: Publish to npm
103+ - name : Setup Node (for publish)
104+ uses : actions/setup-node@v4
105+ with :
106+ node-version : ' 22.17.1'
107+ registry-url : ' https://registry.npmjs.org'
108+
109+ - name : Preview npm tarball
110+ run : npm pack --dry-run
111+
112+ # - name: Publish to npm
112113 # if: startsWith(github.ref, 'refs/tags/v')
113114 # env:
114115 # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments