Release Pomodoro (beta) #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Amore Release | |
| run-name: Release Pomodoro ${{ (inputs.beta || github.ref != 'refs/heads/main') && '(beta)' || '' }} | |
| on: | |
| push: | |
| branches: ['**'] | |
| workflow_dispatch: | |
| inputs: | |
| beta: | |
| type: boolean | |
| default: false | |
| description: Publish as beta channel | |
| build-number: | |
| type: string | |
| default: timestamp | |
| description: Build number (integer or "timestamp") | |
| marketing-version: | |
| type: string | |
| default: "" | |
| description: Override marketing version (e.g. 1.0.1) | |
| concurrency: | |
| group: amore-release | |
| cancel-in-progress: false | |
| jobs: | |
| release: | |
| runs-on: macos-26 | |
| environment: prod | |
| # A stalled archive should fail fast with watchdog samples in the log, | |
| # not burn a 6h runner. | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/amore-release | |
| with: | |
| # Xcode 26.2+ on macOS 26.3+ never exits after the build finishes: | |
| # SWBBuildService keeps its pipes open and xcodebuild waits forever | |
| # (react-native-community/cli#2768; our hang sample matched the exact | |
| # affected build, 17C52). Versions below 26.2 are unaffected, and the | |
| # runner team reports 26.1 as the stable line, so pin 26.1.1 until a | |
| # fixed Xcode ships. | |
| xcode-path: /Applications/Xcode_26.1.1.app | |
| scheme: Pomodoro | |
| codesign-identity: ${{ secrets.CODESIGN_IDENTITY }} | |
| dev-id-cert-p12: ${{ secrets.DEV_ID_CERT_P12 }} | |
| dev-id-cert-password: ${{ secrets.DEV_ID_CERT_PASSWORD }} | |
| sparkle-private-key: ${{ secrets.SPARKLE_PRIVATE_KEY }} | |
| asc-api-key-id: ${{ secrets.ASC_API_KEY_ID }} | |
| asc-api-issuer: ${{ secrets.ASC_API_ISSUER }} | |
| asc-api-key: ${{ secrets.ASC_API_KEY }} | |
| amore-token: ${{ secrets.AMORE_TOKEN }} | |
| beta: ${{ (inputs.beta || github.ref != 'refs/heads/main') && 'true' || 'false' }} | |
| build-number: ${{ inputs.build-number }} | |
| marketing-version: ${{ inputs.marketing-version }} |