diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9125a2e..1c01251 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,6 +18,9 @@ jobs: APP_BUILD_VERSION: "2.7" steps: + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: "15.4" - name: Increase build env: GITHUB_RUN_NUMBER: ${{ github.run_number }} @@ -82,15 +85,16 @@ jobs: agvtool new-version -all ${BUILD_NO} - name: Build For Release - uses: actions/xcode@v3 - with: - xcode-version: 15.4 - workspace: ipad.xcworkspace - scheme: ipad - configuration: Release - sdk: iphoneos - derivedDataPath: $DATA_DIR - archivePath: ${DATA_DIR}/${ARCHIVE_NAME} + + run: | + xcodebuild \ + -workspace ipad.xcworkspace \ + -scheme ipad \ + -configuration Release \ + -sdk iphoneos \ + -derivedDataPath $DATA_DIR \ + -archivePath ${DATA_DIR}/${ARCHIVE_NAME} \ + archive - name: Export Archive # This is the step that signs the build