Skip to content

Commit

Permalink
Fix issues with cross-compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavpandeyvpz committed May 21, 2024
1 parent af23bc1 commit eb5fe63
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Perl environment variables
run: |
echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
if: startsWith(matrix.os, 'windows')
- name: Install cross-compilation tools
uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: ${{ matrix.target }}
if: startsWith(matrix.os, 'ubuntu')
- name: Compile and release
uses: taiki-e/upload-rust-binary-action@v1
with:
Expand Down

0 comments on commit eb5fe63

Please sign in to comment.