Skip to content

Commit 1471522

Browse files
committed
GHA Apple - Fix paths
1 parent e6409e4 commit 1471522

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/apple.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,23 +93,16 @@ jobs:
9393
codesign -vvv --force --deep --sign "$APPLE_CODE_SIGN_IDENTITY_APP" \
9494
--entitlements lsl.entitlements --options runtime \
9595
install/Frameworks/lsl.framework/Versions/A/lsl
96-
codesign -vvv --force --deep --sign "$APPLE_CODE_SIGN_IDENTITY_APP" \
97-
--entitlements lsl.entitlements --options runtime \
98-
install/Frameworks/lsl.framework
99-
echo "✅ Verifying binary signatures in install target..."
10096
codesign -vvv --verify --deep --strict install/Frameworks/lsl.framework/Versions/A/lsl
101-
codesign -vvv --verify --deep --strict install/Frameworks/lsl.framework
10297
elif [[ "${{ matrix.config.name }}" == "iOS" ]]; then
10398
codesign -vvv --force --deep --sign "$APPLE_CODE_SIGN_IDENTITY_APP" \
10499
install/Frameworks/lsl.framework/lsl
105-
codesign -vvv --force --deep --sign "$APPLE_CODE_SIGN_IDENTITY_APP" \
106-
install/Frameworks/lsl.framework
107-
echo "✅ Verifying binary signatures in install target..."
108100
codesign -vvv --verify --deep --strict install/Frameworks/lsl.framework/lsl
109-
codesign -vvv --verify --deep --strict install/Frameworks/lsl.framework
110101
fi
111-
112-
102+
codesign -vvv --force --deep --sign "$APPLE_CODE_SIGN_IDENTITY_APP" \
103+
--entitlements lsl.entitlements --options runtime \
104+
install/Frameworks/lsl.framework
105+
codesign -vvv --verify --deep --strict install/Frameworks/lsl.framework
113106
114107
# run internal tests
115108
# - name: unit tests
@@ -141,7 +134,7 @@ jobs:
141134
--apple-id "$APPLE_NOTARIZE_USERNAME" \
142135
--password "$APPLE_NOTARIZE_PASSWORD" \
143136
--team-id "$APPLE_DEVELOPMENT_TEAM" \
144-
--wait --verbose
137+
--wait
145138
# Staple the notarization ticket to the package
146139
xcrun stapler staple package/liblsl-${LSL_VERSION}-Darwin-universal.pkg
147140
@@ -191,7 +184,8 @@ jobs:
191184

192185
- name: Unzip macOS Framework
193186
run: |
194-
unzip build-macOS-latest/lsl.framework.zip -d build-macOS-latest/Frameworks
187+
unzip build-macOS-latest/install/Frameworks/lsl.framework.zip -d build-macOS-latest/Frameworks
188+
# unpackage build-macOS-latest/package/liblsl-$LSL_VERSION-Darwin-universal.pkg
195189

196190
- name: Unzip iOS Framework
197191
run: |

0 commit comments

Comments
 (0)