Replace deprecated `set-output` command with the new format

This commit is contained in:
Théophile Diot 2023-10-16 12:33:08 +02:00
parent 08944b901c
commit bcaa8faa7b
No known key found for this signature in database
GPG Key ID: 248FEA4BAE400D06
3 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ jobs:
- id: set-matrix
run: |
tests=$(find ./tests/core/ -maxdepth 1 -mindepth 1 -type d -printf "%f\n" | jq -c --raw-input --slurp 'split("\n")| .[0:-1]')
echo "::set-output name=tests::$tests"
echo "tests=$tests" >> $GITHUB_OUTPUT
outputs:
tests: ${{ steps.set-matrix.outputs.tests }}
tests-core:

View File

@ -47,7 +47,7 @@ jobs:
content="${content//'%'/'%25'}"
content="${content//$'\n'/'%0A'}"
content="${content//$'\r'/'%0D'}"
echo "::set-output name=content::$content"
echo "content=$content" >> $GITHUB_OUTPUT
# Create release
- name: Create release
if: inputs.VERSION != 'testing'

View File

@ -93,7 +93,7 @@ jobs:
- id: set-matrix
run: |
tests=$(find ./tests/core/ -maxdepth 1 -mindepth 1 -type d -printf "%f\n" | jq -c --raw-input --slurp 'split("\n")| .[0:-1]')
echo "::set-output name=tests::$tests"
echo "tests=$tests" >> $GITHUB_OUTPUT
outputs:
tests: ${{ steps.set-matrix.outputs.tests }}