summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-09-22 21:01:32 +0200
committerGitHub <noreply@github.com>2021-09-22 21:01:32 +0200
commit6decc4dd38f7066c9fc51f45c3151fe4c08bdd77 (patch)
tree25d9690f92687eed144fdafc793247680a8cd22f
parent958b374f09549b06c96187c3031437926808a175 (diff)
quickfix(ci): only run "Build product size info" on main/tag (#12184)
-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"