chore: fix test workflows #126
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 with Xcode Beta | Amplify Swift | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
actions: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: ${{ github.ref_name != 'main' }} | |
jobs: | |
build-amplify-with-xcode-beta: | |
name: Build Amplify Swift for ${{ matrix.platform }} | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [macOS] | |
uses: ./.github/workflows/build_scheme.yml | |
with: | |
scheme: Amplify-Build | |
os-runner: 'macos-15' | |
xcode-version: 'beta' | |
platform: ${{ matrix.platform }} | |
save_build_cache: false | |
confirm-pass: | |
runs-on: ubuntu-latest | |
name: Confirm Passing Build Steps | |
if: ${{ !cancelled() }} | |
needs: [build-amplify-with-xcode-beta] | |
env: | |
EXIT_CODE: ${{ contains(needs.*.result, 'failure') && 1 || 0 }} | |
steps: | |
- run: exit $EXIT_CODE |