Fix unit tests

This commit is contained in:
Sergey Dolin 2023-07-12 02:14:56 +02:00
parent d4fc9881c5
commit 7eefc6eb21
2 changed files with 8 additions and 3 deletions

View file

@ -29,7 +29,7 @@ jobs:
- run: |
du -m -s 'D:\hostedtoolcache\windows\go\${{ matrix.go }}\x64'
size=$(du -m -s 'D:\hostedtoolcache\windows\go\${{ matrix.go }}\x64'|cut -f1 -d$'\t')
# make sure archive does not take lost of the space
# make sure archive does not take lot of space
if [ $size -gt 999 ];then
echo 'Size of installed on drive d: go is too big';
exit 1