Skip to content

Commit

Permalink
Add special case for iOS packages
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Chang <[email protected]>
  • Loading branch information
amzn-changml authored Apr 10, 2024
1 parent 347e550 commit 7fd6e48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/promote-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ jobs:
fi
FILE_PATH="${{ env.O3DE_REPO_PATH }}/cmake/3rdParty/Platform/${PLATFORM^}/$CMAKE_FILE"
if [[ $PLATFORM == ios ]]; then
FILE_PATH="${{ env.O3DE_REPO_PATH }}/cmake/3rdParty/Platform/iOS/$CMAKE_FILE"
fi
# Sample the first line after the comment "# platform-specific" to detect width
sample_line=$(awk '/# platform-specific/{getline; print}' "$FILE_PATH")
Expand Down

0 comments on commit 7fd6e48

Please sign in to comment.