Skip to content

Create swift.yml

Create swift.yml #1

Workflow file for this run

# This workflow will build a Swift project

Check failure on line 1 in .github/workflows/swift.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/swift.yml

Invalid workflow file

You have an error in your yaml syntax
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Run Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build Xcode
run: |
xcodebuild clean test -project CamPlace.xcodeproj \
-scheme CamPlace \
-destination 'platform=iOS Simulator,name=iPhone 13,OS=latest'