File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,15 +27,25 @@ jobs:
2727 MACOSX_DEPLOYMENT_TARGET=15.0 \
2828 CODE_SIGNING_ALLOWED=NO build
2929
30+ - name : Find built app
31+ id : find_app
32+ run : |
33+ APP_PATH=$(find build -name "Launchpad_Back.app" -type d | head -n 1)
34+ if [ -z "$APP_PATH" ]; then
35+ echo "❌ Error: Launchpad_Back.app not found!"
36+ exit 1
37+ fi
38+ echo "Found app at $APP_PATH"
39+ echo "APP_PATH=$APP_PATH" >> $GITHUB_ENV
40+
3041 - name : Zip App
3142 run : |
32- cd build/Build/Products/Release-macOS
33- zip -r Launchpad_Back-macOS.zip Launchpad_Back.app
43+ zip -r Launchpad_Back-macOS.zip "$APP_PATH"
3444
3545 - name : Create GitHub Release
3646 uses : softprops/action-gh-release@v2
3747 with :
3848 tag_name : ${{ github.ref_name }}
39- files : build/Build/Products/Release-macOS/ Launchpad_Back-macOS.zip
49+ files : Launchpad_Back-macOS.zip
4050 env :
4151 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments