Update workflows to remove ::set-output (#2384)

remove ::set-output usage
remove `$version` asc a enviroment variable as ot's not used
This commit is contained in:
Wojciech Smoliński
2024-07-16 22:11:24 +02:00
committed by GitHub
parent df2cd71d1e
commit bc213d34d9
3 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,7 @@ jobs:
if: github.event.pull_request.merged == true
id: extract-discussion
run: |
echo "::set-output name=discussion::$(echo "${{ github.event.pull_request.body }}" | grep -oP '(?<=Resolves #)\d+')"
echo "discussion=$(echo '${{ github.event.pull_request.body }}' | grep -oP '(?<=Resolves #)\d+')" >> $GITHUB_OUTPUT
shell: bash
- name: Close the discussion