Skip to content

Update compile.yml

Update compile.yml #2

Workflow file for this run

name: Build Cork
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Xcode environment if needed
run : sudo xcode-select --switch /Applications/Xcode.app # Adjust if needed
- name : Install dependencies (if any)
run : |
brew install cocoapods # If you have CocoaPods dependencies
- name : Resolve dependencies and build project
run : |
xcrun xcodebuild \
-project Cork.xcodeproj \
clean archive | xcpretty
# Upload built app as artifact for download.
- uses: actions/upload-artifact@v2
with :
path : .github/Cork.app.zip