summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a53f24082..a9f11a361 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"