1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 04:48:52 -05:00

quickfix(ci): only run "Build product size info" on main/tag (#12184)

This commit is contained in:
Aaron O'Mullan 2021-09-22 21:01:32 +02:00 committed by GitHub
parent 958b374f09
commit 6decc4dd38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"