don't use the deprecated set-output feature in github-actions

This commit is contained in:
erik-krogh
2022-11-10 13:49:29 +01:00
parent e7576fdd1a
commit ac32f27fdc

View File

@@ -30,7 +30,7 @@ jobs:
- name: Get CodeQL version
id: get-codeql-version
run: |
echo "::set-output name=version::$("${CODEQL}" --version | head -n 1 | rev | cut -d " " -f 1 | rev)"
echo "version=$("${CODEQL}" --version | head -n 1 | rev | cut -d " " -f 1 | rev)" >> $GITHUB_OUTPUT
shell: bash
env:
CODEQL: ${{ steps.find-codeql.outputs.codeql-path }}