Skip to content

Commit 89acf66

Browse files
committed
ga build
1 parent e6059f4 commit 89acf66

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/build.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,23 @@ jobs:
2727
if: matrix.os == 'macos-latest'
2828
run: brew install icu4c
2929

30-
- name: Install vcpkg and ICU (Windows)
30+
- name: Setup vcpkg (Windows)
3131
if: matrix.os == 'windows-latest'
3232
uses: lukka/run-vcpkg@v11
3333
with:
34-
vcpkgArguments: 'icu:x64-windows'
3534
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
35+
vcpkgGitCommitId: '501db0f17ef6df184fcdbfbe0f87cde2313b6ab1'
36+
runVcpkgInstall: true
3637

37-
- name: Set up ICU path (Windows)
38+
- name: Install ICU (Windows)
3839
if: matrix.os == 'windows-latest'
39-
run: echo "${{ github.workspace }}/vcpkg/installed/x64-windows/bin" >> $env:GITHUB_PATH
40+
run: |
41+
${{ github.workspace }}/vcpkg/vcpkg install icu:x64-windows
42+
echo "${{ github.workspace }}/vcpkg/installed/x64-windows/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
43+
44+
- name: Set VCPKG_ROOT (Windows)
45+
if: matrix.os == 'windows-latest'
46+
run: echo "VCPKG_ROOT=${{ github.workspace }}/vcpkg" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
4047

4148
- name: Set up cargo cache
4249
uses: actions/cache@v3

0 commit comments

Comments
 (0)