Skip to content

Commit

Permalink
copy final product
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster committed Mar 18, 2022
1 parent a4abe5a commit bc736f1
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 18 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,20 @@ jobs:
make
popd
# - name: Build Project
# run : |
# #xcode needs to be proper at this point
# xcode-select --print-path
- name: Build Project
run : |
#xcode needs to be proper at this point
xcode-select --print-path
# pushd tinyphone-osx
# pod install
# xcodebuild -workspace Tinyphone.xcworkspace -scheme Tinyphone -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
# ./package.sh
pushd tinyphone-osx
pod install
xcodebuild -workspace Tinyphone.xcworkspace -scheme Tinyphone -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
./package.sh
# - name: Upload Artifacts
# uses: actions/upload-artifact@v2
# with:
# name: tinyphone.dmg
# path: |
# ./tinyphone.dmg
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: tinyphone.dmg
path: |
./tinyphone.dmg
2 changes: 0 additions & 2 deletions tinyphone-osx/Tinyphone.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,6 @@
SWIFT_OBJC_BRIDGING_HEADER = "src/Tinyphone-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
SYMROOT = $SRCROOT/build;
TARGETED_DEVICE_FAMILY = 6;
};
name = Debug;
Expand Down Expand Up @@ -683,7 +682,6 @@
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "src/Tinyphone-Bridging-Header.h";
SWIFT_VERSION = 5.0;
SYMROOT = $SRCROOT/build;
TARGETED_DEVICE_FAMILY = 6;
};
name = Release;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1320"
version = "1.3">
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PostActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "PRODUCT=&quot;${BUILT_PRODUCTS_DIR}/${TARGET_NAME}.app&quot;&#10;DESTINATION=&quot;${SRCROOT}/build/$CONFIGURATION/&quot;&#10;mkdir -p &quot;${DESTINATION}&quot;&#10;cp -R &quot;${PRODUCT}&quot; &quot;${DESTINATION}&quot;&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B3DDA55825515DF700D269C9"
BuildableName = "Tinyphone.app"
BlueprintName = "Tinyphone"
ReferencedContainer = "container:Tinyphone.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PostActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand Down
2 changes: 1 addition & 1 deletion tinyphone-osx/release-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"background-color" : "#d6c8c8",
"icon-size": 80,
"contents": [
{ "x": 192, "y": 200, "type": "file", "path": "release/Tinyphone.app" },
{ "x": 192, "y": 200, "type": "file", "path": "build/Release/Tinyphone.app" },
{ "x": 448, "y": 200, "type": "link", "path": "/Applications" }
]
}

0 comments on commit bc736f1

Please sign in to comment.