Skip to content

Commit 5748cd4

Browse files
committed
[Fix] windows cross-compile error
1 parent bad89f1 commit 5748cd4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/upload.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
- name: Checkout the repository
3333
uses: actions/checkout@v4
3434

35+
- name: Set Perl environment variables
36+
if: runner.os == 'Windows'
37+
run: |
38+
echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
39+
echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
40+
3541
- name: Build and upload binaries
3642
uses: taiki-e/upload-rust-binary-action@v1
3743
with:

0 commit comments

Comments
 (0)