0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 01:52:15 +02:00

Merge pull request #2800 from jrfnl/feature/ghactions-dont-use-set-output

GH Actions: fix use of deprecated `set-output`
This commit is contained in:
Marcus Bointon 2022-10-14 23:16:42 +02:00 committed by GitHub
commit 754ea93edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,20 +105,11 @@ jobs:
- name: Check out code
uses: actions/checkout@v3
- name: Set coverage variable
id: set_cov
run: |
if [ ${{ matrix.coverage }} == "true" ]; then
echo '::set-output name=COV::xdebug'
else
echo '::set-output name=COV::none'
fi
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: ${{ steps.set_cov.outputs.COV }}
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-values: sendmail_path=/usr/sbin/sendmail -t -i, error_reporting=E_ALL, display_errors=On
extensions: imap, mbstring, intl, ctype, filter, hash