forked from buresdv/Cork
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: kalyway101 <[email protected]>
- Loading branch information
1 parent
1c0e0ab
commit 68744fa
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |