Skip to content

Commit b0a281f

Browse files
committed
fix ci for macos + windows
1 parent f3c7762 commit b0a281f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
brew install libffi
2929
brew install jq
3030
curl https://cpanmin.us | perl - App::cpanminus -n
31-
echo "##[add-path]/Users/runner/perl5/bin"
31+
echo "/Users/runner/perl5/bin" >> $GITHUB_PATH
3232
3333
- name: perl -V
3434
run: perl -V

.github/workflows/windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ jobs:
4545
- name: Set up Perl
4646
run: |
4747
choco install strawberryperl
48-
echo "##[add-path]C:\cx\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
48+
echo "C:\cx\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
49+
echo "C:\strawberry\c\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
50+
echo "C:\strawberry\perl\site\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
51+
echo "C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
4952
- name: perl -V
5053
run: perl -V
5154
- name: Install Static Dependencies

0 commit comments

Comments
 (0)