diff --git a/.github/workflows/benchmark-done.yml b/.github/workflows/benchmark-done.yml index 2a5217da3..4aba7d854 100644 --- a/.github/workflows/benchmark-done.yml +++ b/.github/workflows/benchmark-done.yml @@ -36,12 +36,12 @@ jobs: run: | mkdir -p benchmark-comment unzip -d benchmark-comment benchmark-comment.zip - echo "::set-output name=pr-number::$(cat benchmark-comment/pr-number)" + echo "pr-number=$(cat benchmark-comment/pr-number)" >> $GITHUB_OUTPUT COMMENT=$(cat benchmark-comment/benchstat.txt) COMMENT="${COMMENT//'%'/'%25'}" COMMENT="${COMMENT//$'\n'/'%0A'}" COMMENT="${COMMENT//$'\r'/'%0D'}" - echo "::set-output name=comment::$COMMENT" + echo "comment=$COMMENT" >> $GITHUB_OUTPUT - name: post benchmark results uses: marocchino/sticky-pull-request-comment@v2 with: diff --git a/.github/workflows/ci-done.yml b/.github/workflows/ci-done.yml index 9690f67fc..3072b73b5 100644 --- a/.github/workflows/ci-done.yml +++ b/.github/workflows/ci-done.yml @@ -38,7 +38,7 @@ jobs: run: | mkdir -p test-results unzip -d test-results test-results.zip - echo "::set-output name=sha::$(cat test-results/sha-number)" + echo "sha=$(cat test-results/sha-number)" >> $GITHUB_OUTPUT - uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.6 with: commit: ${{ steps.unpack.outputs.sha }}