Skip to content

fix(Storage): Removing testable import on UploadPartInput extension (… #369

fix(Storage): Removing testable import on UploadPartInput extension (…

fix(Storage): Removing testable import on UploadPartInput extension (… #369

name: Build with minimum Xcode version | 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-minimum-supported-xcode:
name: Build Amplify Swift for ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [iOS, macOS, tvOS, watchOS]
uses: ./.github/workflows/build_scheme.yml
with:
scheme: Amplify-Build
os-runner: 'macos-latest'
xcode-version: 'minimum'
platform: ${{ matrix.platform }}
save_build_cache: false
confirm-pass:
runs-on: ubuntu-latest
name: Confirm Passing Build Steps
if: ${{ !cancelled() }}
needs: [ build-amplify-with-minimum-supported-xcode ]
env:
EXIT_CODE: ${{ contains(needs.*.result, 'failure') && 1 || 0 }}
steps:
- run: exit $EXIT_CODE