-
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.
- Loading branch information
1 parent
f885a49
commit a6c5dd2
Showing
1 changed file
with
3 additions
and
2 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 |
---|---|---|
|
@@ -17,10 +17,11 @@ jobs: | |
- name: Build Nativebrik E2E | ||
run: xcodebuild -workspace ./ios/nativebrik.xcworkspace -scheme E2E -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0.1' -derivedDataPath ./.dist | ||
- name: Zip app | ||
run: zip -r .dist/E2E.app.zip ./.dist/Build/Products/Release-iphonesimulator/E2E.app | ||
run: | | ||
cd .dist/Build/Products/Release-iphonesimulator/ && zip -r E2E.app.zip ./E2E.app | ||
- name: Uploade to magicpod | ||
run: | | ||
curl -L -X POST -F '[email protected]/E2E.app.zip' -H 'Authorization: Token $MAGICPOD_API_TOKEN' "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik/upload-file/" | ||
curl -L -X POST -F '[email protected]/Build/Products/Release-iphonesimulator/E2E.app.zip' -H 'Authorization: Token ${{MAGICPOD_API_TOKEN}}' "https://app.magicpod.com/api/v1.0/Nativebrik.inc/Nativebrik/upload-file/" | ||
env: | ||
MAGICPOD_API_TOKEN: ${{ secrets.MAGICPOD_API_TOKEN }} | ||
|
||
|