From efadb528eec525289e1abe551d6f34b0a654c22a Mon Sep 17 00:00:00 2001 From: Trevi Awater Date: Mon, 30 Mar 2026 22:06:27 +0200 Subject: [PATCH] fix --- .github/workflows/deploy-appstore.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-appstore.yml b/.github/workflows/deploy-appstore.yml index 45dbaa5..21ca04e 100644 --- a/.github/workflows/deploy-appstore.yml +++ b/.github/workflows/deploy-appstore.yml @@ -7,14 +7,20 @@ on: jobs: build-and-deploy: - runs-on: macos-15 + runs-on: macos-16 steps: - name: Checkout uses: actions/checkout@v4 - name: Select Xcode - run: sudo xcode-select -s /Applications/Xcode_26.0.app/Contents/Developer + run: | + XCODE=$(ls -d /Applications/Xcode_26*.app 2>/dev/null | sort -V | tail -1) + if [ -z "$XCODE" ]; then + XCODE=$(ls -d /Applications/Xcode*.app 2>/dev/null | sort -V | tail -1) + fi + echo "Using $XCODE" + sudo xcode-select -s "$XCODE/Contents/Developer" - name: Setup .NET uses: actions/setup-dotnet@v4