From b4c4067fd09b1dd5c5ec1000dd70a219b4ce6943 Mon Sep 17 00:00:00 2001 From: Anton Palgunov Date: Tue, 11 Feb 2020 23:37:20 +0000 Subject: [PATCH] upd flows --- .github/workflows/build-test.yml | 3 --- .github/workflows/publish.yml | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 2184767..edd9a64 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -9,9 +9,6 @@ jobs: steps: - uses: actions/checkout@v1 - - name: install xcpretty - run: gem install xcpretty - - name: Force Xcode 11 run: sudo xcode-select -switch /Applications/Xcode_11.3.app diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b278933..31cb0e7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,10 +22,10 @@ jobs: - name: Install create-dmg run: npm i -g create-dmg - # - name: Build Archive - # run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive | xcpretty + - name: Build Archive + run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]} - # - name: Build App - # run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release | xcpretty + - name: Build App + run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release | xcpretty -c && exit ${PIPESTATUS[0]}