Skip to content

Commit

Permalink
Tar and zip the xcresult bundles
Browse files Browse the repository at this point in the history
I’m hoping this will reduce the upload time (more by reducing the number
of files than the size).
  • Loading branch information
lawrence-forooghian committed Nov 7, 2023
1 parent 3a614d5 commit af28ab7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-test-iOS16_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ jobs:
uses: actions/upload-artifact@v3
if: always()
with:
name: xcresult-bundles
path: xcresult-bundles
name: xcresult-bundles.tar.gz
path: xcresult-bundles.tar.gz
2 changes: 2 additions & 0 deletions Scripts/continuously-run-tests-and-upload-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ end_iteration_with_exit_value() {
if [[ -e xcresult-bundles ]]
then
echo "There are `du -d0 -h xcresult-bundles | awk -F '\t' '{print $1}'` of xcresult bundles to be uploaded."
tar --create --gzip xcresult-bundles > xcresult-bundles.tar.gz
echo "The file xcresult-bundles.tar.gz that will be uploaded as an artifact is `du -d0 -h xcresult-bundles.tar.gz | awk -F '\t' '{print $1}'`."
else
echo "There are no xcresult bundles to be uploaded."
fi
Expand Down

0 comments on commit af28ab7

Please sign in to comment.