WIP: feat(workflows): add new build workflows for Windows, Linux, and macOS, and remove obsolete build scripts #17
@ -45,7 +45,6 @@ jobs:
|
|||||||
# Find the app bundle
|
# Find the app bundle
|
||||||
- name: Find app bundle
|
- name: Find app bundle
|
||||||
run: |
|
run: |
|
||||||
if [ -z "$APP_PATH" ]; then
|
|
||||||
# First check Saved/StagedBuilds directory - where Unreal often places built apps
|
# First check Saved/StagedBuilds directory - where Unreal often places built apps
|
||||||
echo "Checking Saved/StagedBuilds directory..."
|
echo "Checking Saved/StagedBuilds directory..."
|
||||||
APP_PATHS=$(find ./Saved/StagedBuilds -type d -name "*.app" 2>/dev/null)
|
APP_PATHS=$(find ./Saved/StagedBuilds -type d -name "*.app" 2>/dev/null)
|
||||||
@ -77,15 +76,15 @@ jobs:
|
|||||||
|
|
||||||
echo "Using app bundle: $MAIN_APP_PATH"
|
echo "Using app bundle: $MAIN_APP_PATH"
|
||||||
echo "APP_PATH=$MAIN_APP_PATH" >> "$GITHUB_ENV"
|
echo "APP_PATH=$MAIN_APP_PATH" >> "$GITHUB_ENV"
|
||||||
else
|
|
||||||
echo "App path already set: $APP_PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Make sure app exists
|
# Make sure app exists - using local variable
|
||||||
if [ ! -d "$APP_PATH" ]; then
|
if [ ! -d "$MAIN_APP_PATH" ]; then
|
||||||
echo "ERROR: App bundle not found at $APP_PATH!"
|
echo "ERROR: App bundle not found at $MAIN_APP_PATH!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Export APP_PATH for next steps to use
|
||||||
|
echo "APP_PATH=$MAIN_APP_PATH" >> "$GITHUB_ENV"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
# Use the macos-notarize action to sign and notarize the app
|
# Use the macos-notarize action to sign and notarize the app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user