Skip to content

Commit b30936f

Browse files
committed
ga build
1 parent 55f4717 commit b30936f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,18 @@ jobs:
2727
if: matrix.os == 'macos-latest'
2828
run: brew install icu4c
2929

30+
- name: Install vcpkg (Windows)
31+
if: matrix.os == 'windows-latest'
32+
uses: lukka/run-vcpkg@v7
33+
with:
34+
vcpkgGitCommitId: 'a42af01b72c28a8e1d7b48107b33e4f286a55ef6'
35+
3036
- name: Install ICU (Windows)
3137
if: matrix.os == 'windows-latest'
3238
run: |
33-
choco install icu4c
34-
echo "C:\Program Files\icu4c\bin" >> $GITHUB_PATH
39+
vcpkg install icu:x64-windows
40+
vcpkg integrate install
41+
echo "C:\vcpkg\installed\x64-windows\bin" >> $env:GITHUB_PATH
3542
3643
- name: Set up cargo cache
3744
uses: actions/cache@v3
@@ -60,6 +67,7 @@ jobs:
6067
run: cargo pgrx package
6168
env:
6269
ICU_VERSION: 74
70+
VCPKGRS_DYNAMIC: 1
6371

6472
- name: Upload Extension Artifact
6573
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)