From be9ce5d13e35f5560bd43853cac0f0f5a48ce1c2 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Thu, 7 Oct 2021 23:18:54 +0530 Subject: [PATCH] Profile using an intermediate shell script --- .github/workflows/scripts/memprof | 4 ++++ .github/workflows/{actions => scripts}/memprof.rb | 0 .github/workflows/third-party.yml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/scripts/memprof rename .github/workflows/{actions => scripts}/memprof.rb (100%) diff --git a/.github/workflows/scripts/memprof b/.github/workflows/scripts/memprof new file mode 100644 index 0000000..2f06786 --- /dev/null +++ b/.github/workflows/scripts/memprof @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +bundle exec ruby jekyll-seo-tag/.github/workflows/scripts/memprof.rb sandbox +exit 0 diff --git a/.github/workflows/actions/memprof.rb b/.github/workflows/scripts/memprof.rb similarity index 100% rename from .github/workflows/actions/memprof.rb rename to .github/workflows/scripts/memprof.rb diff --git a/.github/workflows/third-party.yml b/.github/workflows/third-party.yml index 1a67494..aa773f3 100644 --- a/.github/workflows/third-party.yml +++ b/.github/workflows/third-party.yml @@ -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