File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,23 @@ jobs:
27
27
if : matrix.os == 'macos-latest'
28
28
run : brew install icu4c
29
29
30
- - name : Install vcpkg and ICU (Windows)
30
+ - name : Setup vcpkg (Windows)
31
31
if : matrix.os == 'windows-latest'
32
32
uses : lukka/run-vcpkg@v11
33
33
with :
34
- vcpkgArguments : ' icu:x64-windows'
35
34
vcpkgDirectory : ' ${{ github.workspace }}/vcpkg'
35
+ vcpkgGitCommitId : ' 501db0f17ef6df184fcdbfbe0f87cde2313b6ab1'
36
+ runVcpkgInstall : true
36
37
37
- - name : Set up ICU path (Windows)
38
+ - name : Install ICU (Windows)
38
39
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
40
47
41
48
- name : Set up cargo cache
42
49
uses : actions/cache@v3
You can’t perform that action at this time.
0 commit comments