File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,13 +54,14 @@ jobs:
5454 shell : bash
5555 run : |
5656 VERSION=${GITHUB_REF/refs\/tags\//}
57- echo "::set-output name= VERSION:: ${VERSION#w}"
57+ echo "VERSION= ${VERSION#w}" >> "$GITHUB_OUTPUT "
5858
5959 - name : Archive Windows
60- uses : actions/upload-artifact@v3
60+ uses : actions/upload-artifact@v4
6161 with :
6262 name : windows-built
6363 path : ./build/dist/MEDomicsLab-${{ env.VERSION }}-win.exe
64+ compression-level : 0
6465 env :
6566 VERSION : ${{ steps.get-tag.outputs.VERSION }}
6667
7374 uses : actions/checkout@v4
7475
7576 - name : Download Windows
76- uses : actions/download-artifact@v3
77+ uses : actions/download-artifact@v4
7778 with :
7879 name : windows-built
7980
9899 id : get-tag
99100 run : |
100101 VERSION=${GITHUB_REF/refs\/tags\//}
101- echo "::set-output name= VERSION:: ${VERSION#w}"
102+ echo "VERSION= ${VERSION#w}" >> "$GITHUB_OUTPUT "
102103
103104 - name : Publish to GitHub
104105 uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change 1+ @ echo off
2+ REM Clone libmongocrypt repository
3+ git clone --branch node-v6.0.1 https://github.com/mongodb/libmongocrypt.git
4+ cd libmongocrypt
5+
6+ REM Build libmongocrypt node bindings
7+ cd bindings\node
8+
9+ REM Windows requires Git Bash or WSL to run the build-static.sh script
10+ bash ./etc/build-static.sh
11+
12+ npm run rebuild
13+
14+ cd ..\..\..
15+ REM Copy and overwrite the existing node bindings
16+ REM Remove everything in the node_modules/mongodb-client-encryption directory
17+ if exist node_modules\mongodb-client-encryption (
18+ rmdir /s /q node_modules\mongodb-client-encryption
19+ )
20+ xcopy /E /I /Y libmongocrypt\bindings\node node_modules\mongodb-client-encryption
You can’t perform that action at this time.
0 commit comments