From 6decc4dd38f7066c9fc51f45c3151fe4c08bdd77 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Wed, 22 Sep 2021 21:01:32 +0200 Subject: [PATCH] quickfix(ci): only run "Build product size info" on main/tag (#12184) --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a53f2408229f9..a9f11a361c4c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -543,7 +543,9 @@ jobs: git push origin gh-pages - name: Build product size info - if: matrix.job != 'lint' && matrix.profile != 'fastci' + if: matrix.job != 'lint' && matrix.profile != 'fastci' && + github.repository == 'denoland/deno' && + (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) run: | du -hd1 "./target/${{ matrix.profile }}" du -ha "./target/${{ matrix.profile }}/deno"