Skip to content

Commit

Permalink
Fix compare_snapshot CI (#341)
Browse files Browse the repository at this point in the history
* Try action/github script

* Add dedicated workflow for debug

---------

Co-authored-by: danilowhk <[email protected]>
  • Loading branch information
ClementWalter and danilowhk committed Sep 12, 2023
1 parent 85e2864 commit acd0ae3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/gas_reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ permissions:

jobs:
compare-snapshot:
permissions: write-all
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -34,11 +35,3 @@ jobs:
result="${result//$'\n'/'%0A'}"
result="${result//$'\r'/'%0D'}"
echo "::set-output name=result::${result}"
- name: Comment on PR
uses: thollander/actions-comment-pull-request@v2
with:
message: "Snapshot Comparison Report:\n\n${{
steps.run-script.outputs.result }}" # Access the result output variable
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
comment_tag: gas-report

0 comments on commit acd0ae3

Please sign in to comment.