Skip to content

Commit

Permalink
Replace deprecated command with environment file
Browse files Browse the repository at this point in the history
  • Loading branch information
jongwooo authored and jaqx0r committed Apr 27, 2023
1 parent 6b08f72 commit c1563e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark-done.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-done.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c1563e6

Please sign in to comment.