Skip to content

Commit be780d7

Browse files
committed
fixup! ci: enable for dev branch
1 parent 7888283 commit be780d7

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/build-ios-release-pullrequest.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,15 @@ jobs:
286286
if: github.ref != 'refs/heads/master'
287287
run: |
288288
cd ios && pod install
289+
mkdir -p build_logs
289290
xcodebuild -workspace BlueWallet.xcworkspace \
290291
-scheme BlueWallet \
291292
-configuration Release \
292293
-sdk iphonesimulator \
293294
-destination 'generic/platform=iOS Simulator' \
294295
-derivedDataPath build \
295296
CODE_SIGNING_ALLOWED=NO \
296-
build
297+
build 2>&1 | tee build_logs/xcodebuild.log
297298
298299
- name: Upload unsigned app as artifact
299300
if: github.ref != 'refs/heads/master'
@@ -302,6 +303,16 @@ jobs:
302303
name: BlueWallet-unsigned-simulator
303304
path: ios/build/Build/Products/Release-iphonesimulator/BlueWallet.app
304305
retention-days: 7
306+
if-no-files-found: error
307+
308+
- name: Upload build logs (non-master)
309+
if: always() && github.ref != 'refs/heads/master'
310+
uses: actions/upload-artifact@v4
311+
with:
312+
name: build_logs
313+
path: ios/build_logs/xcodebuild.log
314+
retention-days: 7
315+
if-no-files-found: error
305316

306317
- name: Build App
307318
if: github.ref == 'refs/heads/master'
@@ -443,12 +454,13 @@ jobs:
443454
NEW_BUILD_NUMBER: ${{ env.NEW_BUILD_NUMBER }}
444455

445456
- name: Upload Build Logs
446-
if: always()
457+
if: always() && github.ref == 'refs/heads/master'
447458
uses: actions/upload-artifact@v4
448459
with:
449460
name: build_logs
450461
path: ./ios/build_logs/
451462
retention-days: 7
463+
if-no-files-found: error
452464

453465
- name: Verify IPA File Before Upload
454466
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)