diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 11c648720..7a8f41e34 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -210,10 +210,16 @@ jobs: info-plist-path: "./IsraelHiking.Web/ios/App/App/Info.plist" bundle-short-version-string: ${{ needs.version.outputs.version_string }} bundle-version: ${{ needs.version.outputs.version_string }} - - name: Build iOS + - name: Build iOS with signing + if: ${{ github.secret_source == 'Actions' }} run: | cd IsraelHiking.Web/ios xcodebuild -workspace App/App.xcworkspace -scheme App -archivePath App.xcarchive -configuration Release -destination generic/platform=iOS archive -quiet + - name: Build iOS no signing + if: ${{ github.secret_source == 'None' }} + run: | + cd IsraelHiking.Web/ios + xcodebuild -workspace App/App.xcworkspace -scheme App -archivePath App.xcarchive -configuration Release -destination generic/platform=iOS archive -quiet CODE_SIGN_IDENTITY="" - name: Export iOS Archive if: ${{ github.secret_source == 'Actions' }} run: |