diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-09-22 21:01:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 21:01:32 +0200 |
commit | 6decc4dd38f7066c9fc51f45c3151fe4c08bdd77 (patch) | |
tree | 25d9690f92687eed144fdafc793247680a8cd22f | |
parent | 958b374f09549b06c96187c3031437926808a175 (diff) |
quickfix(ci): only run "Build product size info" on main/tag (#12184)
-rw-r--r-- | .github/workflows/ci.yml | 4 |
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" |