update workflow (#2149)

This commit is contained in:
meisnate12 2024-06-28 15:43:46 -04:00 committed by GitHub
parent dff663fd94
commit f4b19bae5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -188,10 +188,11 @@ jobs:
steps:
- name: Get Description
env:
DESC: ${{ github.event.pull_request.body }}
id: get-description
run: |
body='${{ github.event.pull_request.body }}'
body=$(echo "$body" | sed -n '/## Description/,/##/{/## Description/b;/##/b;p}')
body=$(echo "$DESC" | sed -n '/## Description/,/##/{/## Description/b;/##/b;p}')
body=$(echo $body|tr -d '\n')
echo "description=$body" >> $GITHUB_OUTPUT