Merge branch 'main' into hotfix/jianboy-add-path-bug
This commit is contained in:
+4
-2
@@ -25,7 +25,8 @@ jobs:
|
|||||||
scheme: ${{ 'default' }}
|
scheme: ${{ 'default' }}
|
||||||
platform: ${{ 'iOS Simulator' }}
|
platform: ${{ 'iOS Simulator' }}
|
||||||
run: |
|
run: |
|
||||||
device=`instruments -s -devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
|
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
|
||||||
|
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'``
|
||||||
if [ $scheme = default ]; then scheme=$(cat default); fi
|
if [ $scheme = default ]; then scheme=$(cat default); fi
|
||||||
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
|
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
|
||||||
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
|
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
|
||||||
@@ -35,7 +36,8 @@ jobs:
|
|||||||
scheme: ${{ 'default' }}
|
scheme: ${{ 'default' }}
|
||||||
platform: ${{ 'iOS Simulator' }}
|
platform: ${{ 'iOS Simulator' }}
|
||||||
run: |
|
run: |
|
||||||
device=`instruments -s -devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
|
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
|
||||||
|
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'``
|
||||||
if [ $scheme = default ]; then scheme=$(cat default); fi
|
if [ $scheme = default ]; then scheme=$(cat default); fi
|
||||||
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
|
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
|
||||||
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
|
file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`
|
||||||
|
|||||||
+3
-2
@@ -45,8 +45,9 @@ env:
|
|||||||
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
|
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
|
||||||
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
|
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
|
||||||
|
|
||||||
# ⬇️ EDIT with the port your application should be accessible on.
|
# ⬇️ EDIT with any additional port your application should expose.
|
||||||
APP_PORT: 8080
|
# By default, oc new-app action creates a service to the image's lowest numeric exposed port.
|
||||||
|
APP_PORT: ""
|
||||||
|
|
||||||
# ⬇️ EDIT if you wish to set the kube context's namespace after login. Leave blank to use the default namespace.
|
# ⬇️ EDIT if you wish to set the kube context's namespace after login. Leave blank to use the default namespace.
|
||||||
OPENSHIFT_NAMESPACE: ""
|
OPENSHIFT_NAMESPACE: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user