We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0e2190 commit d4f1510Copy full SHA for d4f1510
.github/workflows/rust-release.yml
@@ -170,9 +170,14 @@ jobs:
170
exit 1
171
fi
172
173
+ keychain_args=()
174
+ if [[ -n "${APPLE_CODESIGN_KEYCHAIN:-}" && -f "${APPLE_CODESIGN_KEYCHAIN}" ]]; then
175
+ keychain_args+=(--keychain "${APPLE_CODESIGN_KEYCHAIN}")
176
+ fi
177
+
178
for binary in codex codex-responses-api-proxy; do
179
path="target/${{ matrix.target }}/release/${binary}"
- codesign --force --options runtime --timestamp --sign "$APPLE_CODESIGN_IDENTITY" "$path"
180
+ codesign --force --options runtime --timestamp --sign "$APPLE_CODESIGN_IDENTITY" "${keychain_args[@]}" "$path"
181
codesign --verify --deep --strict "$path"
182
done
183
0 commit comments