Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix: upload swift build log as artifact on failure (#1231)

ddupont1b724fa92aa2
diff --git a/.github/workflows/cd-swift-lume.yml b/.github/workflows/cd-swift-lume.yml
index 571851cf82..f65f5102d3 100644
--- a/.github/workflows/cd-swift-lume.yml
+++ b/.github/workflows/cd-swift-lume.yml
@@ -194,6 +194,14 @@ jobs:
echo "tarball_path=.release/lume-${VERSION}-${OS_IDENTIFIER}.tar.gz" >> $GITHUB_OUTPUT
echo "pkg_path=.release/lume-${VERSION}-${OS_IDENTIFIER}.pkg.tar.gz" >> $GITHUB_OUTPUT
+ - name: Upload build log on failure
+ if: failure() && steps.build_notarize.outcome == 'failure'
+ uses: actions/upload-artifact@v4
+ with:
+ name: swift-build-log
+ path: ./libs/lume/build.log
+ retention-days: 7
+
- name: Generate SHA256 Checksums
id: generate_checksums
working-directory: ./libs/lume/.release