mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-04 09:00:55 +08:00
Change "open" tool to "xip" on XCode archive extraction (#1840)
* change open tool to xip * cd change to pushd and popd Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
This commit is contained in:
@@ -68,7 +68,9 @@ extractXcodeXip() {
|
||||
local XCODE_VERSION="$2"
|
||||
XCODE_XIP="${WORKING_DIR}/Xcode_${XCODE_VERSION// /_}.xip"
|
||||
|
||||
open -W $XCODE_XIP
|
||||
pushd $WORKING_DIR
|
||||
xip -x "${XCODE_XIP}"
|
||||
popd
|
||||
|
||||
if [[ -d "${WORKING_DIR}/Xcode-beta.app" ]]; then
|
||||
mv -f "${WORKING_DIR}/Xcode-beta.app" "${WORKING_DIR}/Xcode.app"
|
||||
|
||||
Reference in New Issue
Block a user