From 38c5a95dba37e6a7817b0db7480fd2521b27ded6 Mon Sep 17 00:00:00 2001 From: Morgan Date: Thu, 27 Nov 2025 17:56:26 +0900 Subject: [PATCH] . --- .github/workflows/build.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 212d293..e114e6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,7 @@ jobs: -scheme EnvSensorReader \ -sdk iphoneos \ -configuration Release \ + -derivedDataPath ./build \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO \ CODE_SIGNING_ALLOWED=NO \ @@ -44,6 +45,7 @@ jobs: -scheme EnvSensorReader \ -sdk iphonesimulator \ -configuration Release \ + -derivedDataPath ./build \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO \ CODE_SIGNING_ALLOWED=NO \ @@ -53,12 +55,19 @@ jobs: if: success() run: | mkdir -p artifacts - if [ -d "build/Release-iphoneos" ]; then - cp -R build/Release-iphoneos artifacts/ || true + # Copy device build + if [ -d "build/Build/Products/Release-iphoneos" ]; then + echo "Copying iOS device build..." + cp -R build/Build/Products/Release-iphoneos artifacts/ fi - if [ -d "build/Release-iphonesimulator" ]; then - cp -R build/Release-iphonesimulator artifacts/ || true + # Copy simulator build + if [ -d "build/Build/Products/Release-iphonesimulator" ]; then + echo "Copying iOS simulator build..." + cp -R build/Build/Products/Release-iphonesimulator artifacts/ fi + # List what we got + echo "Artifacts directory contents:" + ls -la artifacts/ - name: Upload build artifacts if: success()