Skip to content

Commit 8dbe2db

Browse files
committed
fix: try to fix windows CD
1 parent 83c4a53 commit 8dbe2db

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/cd-registry-cli.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ jobs:
6565
if: endsWith(matrix.target, 'windows-msvc')
6666
- name: Use static openssl
6767
run: echo "OPENSSL_STATIC=1" >> $GITHUB_ENV
68+
- name: Set Perl environment variables
69+
if: runner.os == 'Windows'
70+
run: |
71+
echo "PERL=$(where.exe perl)" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
72+
echo "OPENSSL_SRC_PERL=$(where.exe perl)" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
6873
- uses: taiki-e/upload-rust-binary-action@v1
6974
with:
7075
bin: stellar-registry

.github/workflows/cd-scaffold-cli.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
push:
99
tags:
1010
- 'stellar-scaffold-cli-v[0-9]+.[0-9]+.[0-9]+*'
11-
1211
env:
1312
CARGO_INCREMENTAL: 0
1413
CARGO_NET_GIT_FETCH_WITH_CLI: true
@@ -66,6 +65,11 @@ jobs:
6665
if: endsWith(matrix.target, 'windows-msvc')
6766
- name: Use static openssl
6867
run: echo "OPENSSL_STATIC=1" >> $GITHUB_ENV
68+
- name: Set Perl environment variables
69+
if: runner.os == 'Windows'
70+
run: |
71+
echo "PERL=$(where.exe perl)" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
72+
echo "OPENSSL_SRC_PERL=$(where.exe perl)" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
6973
- uses: taiki-e/upload-rust-binary-action@v1
7074
with:
7175
bin: stellar-scaffold

0 commit comments

Comments
 (0)