Skip to content

Create compile.yml

Create compile.yml #1

Workflow file for this run

name: Build Cork
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: macos-latest
steps:

Check failure on line 13 in .github/workflows/compile.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/compile.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- name: Checkout repository
uses: actions/checkout@v2
# Set up Xcode environment if needed
#- name : Set up Xcode
run : sudo xcode-select --switch /Applications/Xcode.app # Adjust if needed
# Install dependencies (if any)
#- name : Install dependencies
run : |
brew install cocoapods # If you have CocoaPods dependencies
# Resolve dependencies and build project
#- name : Resolve dependencies and build project
run : |
xcrun xcodebuild \
-project Cork.xcodeproj \
clean archive | xcpretty
## Optionally, upload built app as artifact for download.
- uses actions/upload-artifact@v2 with path .github/Cork.app.zip