From 3a05211d306ca045ace2e7bf10b7f8138e1daad5 Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Tue, 7 May 2024 15:33:04 -0400 Subject: [PATCH] Mac TestFlight in nightly runs only (#2312) --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccaab89cf..3734f591d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -239,8 +239,8 @@ jobs: includeDebug: true args: "${{ env.TAURI_ARGS_MACOS }} ${{ env.TAURI_ARGS_UBUNTU }}" - - name: Mac App Store - if: ${{ env.BUILD_RELEASE == 'true' && matrix.os == 'macos-14' }} + - name: Build for Mac TestFlight (nightly) + if: ${{ github.event_name == 'schedule' && matrix.os == 'macos-14' }} shell: bash run: | unset APPLE_SIGNING_IDENTITY @@ -302,9 +302,9 @@ jobs: APPLE_STORE_P12_PASSWORD: ${{ secrets.APPLE_STORE_P12_PASSWORD }} - - name: 'Upload app to TestFlight' + - name: 'Upload to Mac TestFlight (nightly)' uses: apple-actions/upload-testflight-build@v1 - if: ${{ env.BUILD_RELEASE == 'true' && matrix.os == 'macos-14' }} + if: ${{ github.event_name == 'schedule' && matrix.os == 'macos-14' }} with: app-path: 'src-tauri/target/universal-apple-darwin/release/bundle/macos/Zoo Modeling App.pkg' issuer-id: ${{ secrets.APPLE_STORE_ISSUER_ID }} @@ -313,8 +313,8 @@ jobs: app-type: osx - - name: Clean up after Mac App Store - if: ${{ env.BUILD_RELEASE == 'true' && matrix.os == 'macos-14' }} + - name: Clean up after Mac TestFlight (nightly) + if: ${{ github.event_name == 'schedule' && matrix.os == 'macos-14' }} shell: bash run: | git status