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.

Split upload steps

f-trycua12715fdd5f83
diff --git a/.github/workflows/publish-lume.yml b/.github/workflows/publish-lume.yml
index a4bc5e8676..a8c1d935b5 100644
--- a/.github/workflows/publish-lume.yml
+++ b/.github/workflows/publish-lume.yml
@@ -49,6 +49,7 @@ jobs:
runs-on: macos-15
outputs:
sha256_checksums: ${{ steps.generate_checksums.outputs.checksums }}
+ version: ${{ steps.set_version.outputs.version }}
steps:
- uses: actions/checkout@v4
@@ -121,6 +122,7 @@ jobs:
rm application.p12 installer.p12
- name: Build and Notarize
+ id: build_notarize
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
TEAM_ID: ${{ secrets.TEAM_ID }}
@@ -155,7 +157,15 @@ jobs:
# Debug: List what files were actually created
echo "Files in .release directory:"
- ls -la .release
+ find .release -type f -name "*.tar.gz" -o -name "*.pkg.tar.gz"
+
+ # Get architecture for output filename
+ ARCH=$(uname -m)
+ OS_IDENTIFIER="darwin-${ARCH}"
+
+ # Output paths for later use
+ 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: Generate SHA256 Checksums
id: generate_checksums
@@ -181,20 +191,27 @@ jobs:
echo "All files in release directory:"
ls -la
- - name: Upload Notarized Package
+ - name: Upload Notarized Package (Tarball)
+ uses: actions/upload-artifact@v4
+ with:
+ name: lume-notarized-tarball
+ path: ./libs/lume/${{ steps.build_notarize.outputs.tarball_path }}
+ if-no-files-found: error
+
+ - name: Upload Notarized Package (Installer)
uses: actions/upload-artifact@v4
with:
- name: lume-notarized
- path: ./libs/lume/.release/lume-*.tar.gz
- if-no-files-found: warn
+ name: lume-notarized-installer
+ path: ./libs/lume/${{ steps.build_notarize.outputs.pkg_path }}
+ if-no-files-found: error
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: |
- ./libs/lume/.release/lume-*.tar.gz
- ./libs/lume/.release/lume-*.pkg.tar.gz
+ ./libs/lume/${{ steps.build_notarize.outputs.tarball_path }}
+ ./libs/lume/${{ steps.build_notarize.outputs.pkg_path }}
body: |
${{ steps.generate_checksums.outputs.checksums }}