From 15e92833128688b653a2e3a7111717f09252813d Mon Sep 17 00:00:00 2001 From: chenyan Date: Sun, 29 Oct 2023 21:46:12 +0800 Subject: [PATCH] fix: outputs --- .github/workflows/check_checksums.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check_checksums.yml b/.github/workflows/check_checksums.yml index 3a8558ffd7..ca264a50eb 100644 --- a/.github/workflows/check_checksums.yml +++ b/.github/workflows/check_checksums.yml @@ -13,8 +13,7 @@ jobs: uses: actions/checkout@v3 - name: Generate checksums from artifacts - run: - ruby ./scripts/release-checksums.rb ${{ github.event.release.tag_name }} | tee generated_checksums.txt + run: ruby ./scripts/release-checksums.rb ${{ github.event.release.tag_name }} | tee generated_checksums.txt - name: Fetch checksums from release note run: | @@ -31,9 +30,8 @@ jobs: body="${body//'%'/'%25'}" body="${body//$'\n'/'%0A'}" body="${body//$'\r'/'%0D'}" - echo ::set-output name=body::$body + echo "body=$body" >> $GITHUB_OUTPUT - uses: peter-evans/commit-comment@v2 with: body: ${{ steps.comment_body.outputs.body }} -