From 5cb3904f119f3328882fbdfcd54ec9c3258d14de Mon Sep 17 00:00:00 2001 From: Yash Kulshrestha Date: Sun, 20 Aug 2023 11:30:23 -0700 Subject: [PATCH] use the github_output thing instead of set_output --- .github/workflows/test-and-benchmark.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-and-benchmark.yml b/.github/workflows/test-and-benchmark.yml index 3b31936..00f4794 100644 --- a/.github/workflows/test-and-benchmark.yml +++ b/.github/workflows/test-and-benchmark.yml @@ -48,10 +48,10 @@ jobs: - name: Get short hash id: vars - run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" + run: echo "short_sha=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" - name: Upload benchmark artifacts uses: actions/upload-artifact@v3 with: - name: ${{ format('benchmarks-{0}-{1}-{2}.json', steps.vars.outputs.sha_short, runner.os, matrix.go) }} + name: ${{ format('benchmarks-{0}-{1}-{2}.json', steps.vars.outputs.short_sha, runner.os, matrix.go) }} path: benchmarks.json