Skip to content

Commit

Permalink
Update compile.yml
Browse files Browse the repository at this point in the history
updated v0.01

Signed-off-by: kalyway101 <[email protected]>
  • Loading branch information
kalyway101 authored Jun 3, 2024
1 parent 8f9bc14 commit 864632d
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,22 @@ jobs:
run : |
brew install cocoapods # If you have CocoaPods dependencies
- name : Resolve dependencies and build project
run : |
- name : Delete corrupted Package.resolved file
run : rm ./Cork.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

- name : Resolve package dependencies
run :
xcrun xcodebuild \
-project Cork.xcodeproj \
clean archive | xcpretty
-resolvePackages | xcpretty

# Build project
#-name resolve dependenices and build project
run :
xcrun xcoddebuild \-project Cork.xcoddeproj \clean archive | xcpretty


# Upload built app as artifact for download.
- uses: actions/upload-artifact@v2
with :
path : .github/Cork.app.zip
## Upload built app as artifact for download.
uses;actions/upload-artifact @ v2 with:path:.github/corkapp.zip


This setup will delete corrupted 'package resolved'file, resolve package dependecies,then proceed building uploading app

0 comments on commit 864632d

Please sign in to comment.