From 0d678755c4c213e30c1a07e5951b80a6802b9cd0 Mon Sep 17 00:00:00 2001 From: Cibin Mathew <10793628+cibinmathew@users.noreply.github.com> Date: Tue, 28 Feb 2023 14:50:10 +0100 Subject: [PATCH] fix: replace deprecated `set-output` command --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8bb2bf12898..725aff4de9e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Get current date id: date - run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')" + run: echo "current_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT - name: Check out main branch uses: actions/checkout@v3 @@ -79,7 +79,7 @@ jobs: output="${output//'%'/'%25'}" output="${output//$'\n'/'%0A'}" output="${output//$'\r'/'%0D'}" - echo "::set-output name=change_summary::$output" + echo "change_summary=$output" >> $GITHUB_OUTPUT working-directory: ./scripts - name: Create PR