Replace deprecated command with environment file

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
This commit is contained in:
Jongwoo Han 2023-10-16 18:07:07 +09:00 committed by David Ko
parent a04760a08b
commit 15fae1ba47

View File

@ -48,7 +48,7 @@ jobs:
echo "RAW LABELS: $RAW_LABELS"
LABELS=$(echo "$RAW_LABELS" | sed -r 's/\s*backport\S+//g' | sed -r 's/\s*require\/auto-e2e-test//g' | xargs | sed 's/ /, /g')
echo "LABELS: $LABELS"
echo "::set-output name=labels::$LABELS"
echo "labels=$LABELS" >> $GITHUB_OUTPUT
- name: Create Backport Issue
if: fromJSON(steps.is-longhorn-member.outputs.teams)[0] != null && fromJSON(steps.if-backport-issue-exists.outputs.issues)[0] == null
uses: dacbd/create-issue-action@v1