Mac TestFlight in nightly runs only (#2312)
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -239,8 +239,8 @@ jobs:
|
|||||||
includeDebug: true
|
includeDebug: true
|
||||||
args: "${{ env.TAURI_ARGS_MACOS }} ${{ env.TAURI_ARGS_UBUNTU }}"
|
args: "${{ env.TAURI_ARGS_MACOS }} ${{ env.TAURI_ARGS_UBUNTU }}"
|
||||||
|
|
||||||
- name: Mac App Store
|
- name: Build for Mac TestFlight (nightly)
|
||||||
if: ${{ env.BUILD_RELEASE == 'true' && matrix.os == 'macos-14' }}
|
if: ${{ github.event_name == 'schedule' && matrix.os == 'macos-14' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
unset APPLE_SIGNING_IDENTITY
|
unset APPLE_SIGNING_IDENTITY
|
||||||
@ -302,9 +302,9 @@ jobs:
|
|||||||
APPLE_STORE_P12_PASSWORD: ${{ secrets.APPLE_STORE_P12_PASSWORD }}
|
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
|
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:
|
with:
|
||||||
app-path: 'src-tauri/target/universal-apple-darwin/release/bundle/macos/Zoo Modeling App.pkg'
|
app-path: 'src-tauri/target/universal-apple-darwin/release/bundle/macos/Zoo Modeling App.pkg'
|
||||||
issuer-id: ${{ secrets.APPLE_STORE_ISSUER_ID }}
|
issuer-id: ${{ secrets.APPLE_STORE_ISSUER_ID }}
|
||||||
@ -313,8 +313,8 @@ jobs:
|
|||||||
app-type: osx
|
app-type: osx
|
||||||
|
|
||||||
|
|
||||||
- name: Clean up after Mac App Store
|
- name: Clean up after Mac TestFlight (nightly)
|
||||||
if: ${{ env.BUILD_RELEASE == 'true' && matrix.os == 'macos-14' }}
|
if: ${{ github.event_name == 'schedule' && matrix.os == 'macos-14' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git status
|
git status
|
||||||
|
|||||||
Reference in New Issue
Block a user