Skip to content

Commit

Permalink
use the github_output thing instead of set_output
Browse files Browse the repository at this point in the history
  • Loading branch information
YashdalfTheGray committed Aug 20, 2023
1 parent a252169 commit 5cb3904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-and-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5cb3904

Please sign in to comment.