Skip to content

Commit 7f798d0

Browse files
committed
Only run sdef locally - not github actions
1 parent 6ab9403 commit 7f798d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iTerm2.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
outputFiles = (
3131
"$(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).h",
3232
);
33-
script = "sdef \"$INPUT_FILE_PATH\" | sdp -fh -o \"$DERIVED_FILES_DIR\" --basename \"$INPUT_FILE_BASE\" --bundleid `defaults read \"$INPUT_FILE_PATH/Contents/Info\" CFBundleIdentifier`";
33+
script = "if [[ -z \"${GITHUB_ACTIONS}\" ]]; then\nsdef \"$INPUT_FILE_PATH\" | sdp -fh -o \"$DERIVED_FILES_DIR\" --basename \"$INPUT_FILE_BASE\" --bundleid `defaults read \"$INPUT_FILE_PATH/Contents/Info\" CFBundleIdentifier`\nfi\n";
3434
};
3535
/* End PBXBuildRule section */
3636

0 commit comments

Comments
 (0)