mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 23:02:31 +03:00
Merge pull request #3274 from gitbutlerapp/set-perl-from-windows
ser PERL env from powershell instead of bash
This commit is contained in:
commit
cc5dcc4b2e
13
.github/workflows/publish.yaml
vendored
13
.github/workflows/publish.yaml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user