diff --git a/.github/workflows/mor-agents-build-mac.yml b/.github/workflows/mor-agents-build-mac.yml index 13ceebb..13a1ffa 100644 --- a/.github/workflows/mor-agents-build-mac.yml +++ b/.github/workflows/mor-agents-build-mac.yml @@ -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 \ No newline at end of file + path: ${{ steps.find-pkg.outputs.PKG_PATH }} \ No newline at end of file