forked from buresdv/Cork
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 924 Bytes
/
compile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build Cork
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- 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