Skip to content

Commit

Permalink
chore: Update gas report workflow and script paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Jun 1, 2024
1 parent c67deda commit 7cc29da
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/gas_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,19 @@ jobs:
- name: Run gas report script
run: node scripts/foundry/generateGasReport.js

- name: Check gas report file exists
run: |
if [ ! -f GAS_REPORT.md ]; then
echo "GAS_REPORT.md does not exist."
exit 1
fi
- name: Upload gas report artifact
if: success()
uses: actions/upload-artifact@v4
with:
name: gas-report-${{ github.sha }}
path: GAS_REPORT.md
if-no-files-found: warn

compare-gas-report:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7cc29da

Please sign in to comment.