Profile using an intermediate shell script

This commit is contained in:
Ashwin Maroli 2021-10-07 23:18:54 +05:30
parent b5c53de8f0
commit be9ce5d13e
3 changed files with 5 additions and 1 deletions

4
.github/workflows/scripts/memprof vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
bundle exec ruby jekyll-seo-tag/.github/workflows/scripts/memprof.rb sandbox
exit 0

View File

@ -59,4 +59,4 @@ jobs:
bundle exec jekyll build -s sandbox -d sandbox/_site --trace
bundle exec jekyll build -s sandbox -d sandbox/_site --trace
- name: Memory Analysis of Jekyll Build (WITH SEO Tag)
run: bundle exec ruby jekyll-seo-tag/.github/workflows/actions/memprof.rb sandbox
run: bash jekyll-seo-tag/.github/workflows/scripts/memprof