Merge pull request #3274 from gitbutlerapp/set-perl-from-windows

ser PERL env from powershell instead of bash
This commit is contained in:
Josh Junon 2024-03-22 00:26:10 +01:00 committed by GitHub
commit cc5dcc4b2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,11 +64,9 @@ jobs:
run: cpanm ExtUtils::Manifest App::cpanminus Locale::Maketext::Simple
- name: Set Perl environment variables
if: runner.os == 'Windows'
shell: bash
run: |
echo "PERL=$(which perl)" >> $GITHUB_ENV
echo "OPENSSL_SRC_PERL=$(which perl)" >> $GITHUB_ENV
echo "PERL=$(where.exe perl)" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
echo "OPENSSL_SRC_PERL=$(where.exe perl)" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
- uses: actions/checkout@v4
with:
@ -109,13 +107,6 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt-get install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
- name: Confirm PERL environment variables are set correctly
shell: bash
if: runner.os == 'Windows'
run: |
echo "PERL=$PERL"
echo "OPENSSL_SRC_PERL=$OPENSSL_SRC_PERL"
- name: Build binary
shell: bash
run: |