Skip to content

Commit b59a838

Browse files
committed
Fix build directory
1 parent feac769 commit b59a838

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

.github/workflows/windows.yml

+17-19
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,32 @@ jobs:
1818
components: rust-src
1919
targets: x86_64-pc-windows-msvc
2020

21-
- name: Install Perl
22-
uses: shogo82148/actions-setup-perl@v1
23-
with:
24-
distribution: strawberry
25-
perl-version: "5.32"
21+
# - name: Install Perl
22+
# uses: shogo82148/actions-setup-perl@v1
23+
# with:
24+
# distribution: strawberry
25+
# perl-version: "5.32"
2626

27-
- name: Install make with Chocolatey
28-
shell: bash
29-
run: choco install make
27+
# - name: Install make with Chocolatey
28+
# shell: bash
29+
# run: choco install make
3030

31-
- name: Set Windows environment variables
32-
shell: pwsh
33-
run: |
34-
echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
35-
echo "OPENSSL_SRC_PERL=C:/Strawberry/perl/bin/perl" >> $env:GITHUB_ENV
31+
# - name: Set Windows environment variables
32+
# shell: pwsh
33+
# run: |
34+
# echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
35+
# echo "OPENSSL_SRC_PERL=C:/Strawberry/perl/bin/perl" >> $env:GITHUB_ENV
3636

3737
- name: Setup
3838
run: |
39-
cargo build -p powersync_loadable --release --target x86_64-pc-windows-msvc -Zbuild-std -v
40-
ls "target/x86_64-pc-windows-msvc"
41-
ls "target/x86_64-pc-windows-msvc/release"
42-
mv "target/x86_64-pc-windows-msvc/release/libpowersync.dll" "libpowersync_x64.dll"
39+
cargo build -p powersync_loadable --release --target x86_64-pc-windows-msvc -Zbuild-std
40+
mv "target/x86_64-pc-windows-msvc/release/powersync.dll" "powersync_x64.dll"
4341
4442
- name: Upload binary
4543
uses: svenstaro/upload-release-action@v2
4644
with:
4745
repo_token: ${{ secrets.GITHUB_TOKEN }}
4846
overwrite: true
49-
file: libpowersync_x64.dll
50-
asset_name: libpowersync_x64.dll
47+
file: powersync_x64.dll
48+
asset_name: powersync_x64.dll
5149
tag: v0.1.6

0 commit comments

Comments
 (0)