Skip to content

Commit

Permalink
findpath
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleung committed Sep 7, 2024
1 parent e8d293f commit 9e2e9f2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/mor-agents-build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,20 @@ jobs:
cd build_assets/macOS
/usr/local/bin/packagesbuild --verbose --project MorpheusPackagesSudre.pkgproj
- name: Find .pkg file
id: find-pkg
run: |
PKG_PATH=$(find . -name "*.pkg" -print -quit)
echo "PKG_PATH=$PKG_PATH" >> $GITHUB_OUTPUT
echo "Found .pkg file at: $PKG_PATH"
- name: Debug - List contents after packaging
run: |
echo "Contents of build directory:"
ls -R build
echo "Contents of current directory:"
ls -R
- name: Upload Installer
uses: actions/upload-artifact@v4
with:
name: MORagentsSetup-macOS
path: build_assets/macOS/build/MORagents.pkg
path: ${{ steps.find-pkg.outputs.PKG_PATH }}

0 comments on commit 9e2e9f2

Please sign in to comment.