Skip to content

Commit ae6a659

Browse files
committed
ga build
1 parent 89acf66 commit ae6a659

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/build.yml

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

30-
- name: Setup vcpkg (Windows)
31-
if: matrix.os == 'windows-latest'
30+
- name: Setup vcpkg
3231
uses: lukka/run-vcpkg@v11
3332
with:
3433
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
3534
vcpkgGitCommitId: '501db0f17ef6df184fcdbfbe0f87cde2313b6ab1'
3635
runVcpkgInstall: true
3736

37+
- name: Set VCPKG_ROOT
38+
run: echo "VCPKG_ROOT=${{ github.workspace }}/vcpkg" >> $GITHUB_ENV
39+
3840
- name: Install ICU (Windows)
3941
if: matrix.os == 'windows-latest'
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
42+
run: ${{ github.workspace }}/vcpkg/vcpkg install icu:x64-windows
4343

44-
- name: Set VCPKG_ROOT (Windows)
44+
- name: Set up ICU path (Windows)
4545
if: matrix.os == 'windows-latest'
46-
run: echo "VCPKG_ROOT=${{ github.workspace }}/vcpkg" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
46+
run: echo "${{ github.workspace }}/vcpkg/installed/x64-windows/bin" >> $env:GITHUB_PATH
4747

4848
- name: Set up cargo cache
4949
uses: actions/cache@v3
@@ -100,4 +100,4 @@ jobs:
100100
override: true
101101

102102
- name: Install ICU
103-
run: sudo apt-get install -y libicu-dev
103+
run: sudo apt-get install -y libicu-dev

vcpkg.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "pg-sqids",
3+
"version-string": "0.1.0",
4+
"dependencies": [
5+
"icu"
6+
]
7+
}
8+

0 commit comments

Comments
 (0)