Add Sparkle update channels (stable/beta/nightly) with nightly pipeline #2355
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: Build for macOS | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| # https://stackoverflow.com/a/72408109/6942800 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| # Least-privilege: only needs to read code for building. | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build Boring Notch | |
| strategy: | |
| matrix: | |
| platform: | |
| - macOS | |
| xcode: | |
| - ^16 | |
| scheme: | |
| - boringNotch | |
| # macos-latest now resolves to macos-26, which does not ship Xcode 16. | |
| # Keep this legacy main-branch build on an image with the requested toolchain. | |
| runs-on: macos-15 | |
| steps: | |
| - name: Code Checkout | |
| # TODO: pin to immutable SHA | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - # TODO: pin to immutable SHA | |
| uses: mxcl/xcodebuild@d3ee9b419c1be9a988086c58fe0988f32d99cfc5 # v3.6.0 | |
| with: | |
| xcode: ${{ matrix.xcode }} | |
| platform: ${{ matrix.platform }} | |
| scheme: ${{ matrix.scheme }} | |
| action: build | |
| verbosity: xcpretty | |
| upload-logs: always | |
| configuration: release |