Merge pull request #3273 from gitbutlerapp/set-perl-envs

set PERL env for openssl build
This commit is contained in:
Josh Junon 2024-03-22 00:19:26 +01:00 committed by GitHub
commit 0fe4104e46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,6 +62,13 @@ jobs:
- name: Ensure we have a working Perl toolchain
if: runner.os == 'Windows'
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
- uses: actions/checkout@v4
with:
@ -102,6 +109,13 @@ 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: |