mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add more disk visibility on GHA Android builds (#45005)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45005 We've had failures owing to running out of disk space, however this isn't a stable failure. Adding more data about disk availability and utilisation to help debug these issues. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D58667190 fbshipit-source-id: 3d5f7cc985ac71044818f7b5663ef7400ad691b5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
abfadc6083
commit
fa8ea481f0
@@ -836,6 +836,16 @@ jobs:
|
||||
run: |
|
||||
cd packages/react-native-codegen
|
||||
yarn run build
|
||||
- name: Monitor Disk utilization (before build)
|
||||
shell: bash
|
||||
if: always()
|
||||
run: |
|
||||
echo "On Runner:"
|
||||
df -h
|
||||
echo "Root:"
|
||||
du -hs *
|
||||
echo "Projects folder:"
|
||||
du -hs projects/*
|
||||
- name: Build the Helloworld application for ${{ matrix.flavor }} with Architecture set to ${{ matrix.architecture }}, and using the ${{ matrix.jsengine }} JS engine.
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -851,13 +861,16 @@ jobs:
|
||||
args+=(--prod)
|
||||
fi
|
||||
yarn build android "${args[@]}" -P reactNativeArchitectures="$TARGET_ARCHITECTURE"
|
||||
- name: Monitor Disk utilization
|
||||
- name: Monitor Disk utilization (after build)
|
||||
shell: bash
|
||||
if: always()
|
||||
run: |
|
||||
echo "On Runner:\n=========="
|
||||
echo "On Runner:"
|
||||
df -h
|
||||
echo "In Project:\n==========="
|
||||
echo "Root:"
|
||||
du -hs *
|
||||
echo "Projects folder:"
|
||||
du -hs projects/*
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user