Skip to content

Commit 1c7c633

Browse files
ledhed2222claude
andcommitted
Use clean input directory for jpackage to prevent recursion
- Create jpackage-input directory with only the JAR file - Prevents jpackage from including cached artifacts from target directory 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9c5b6d3 commit 1c7c633

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build-installers.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,19 @@ jobs:
6161
CERT_IDENTITY=$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | sed -n 's/.*"\(.*\)"/\1/p')
6262
echo "Using certificate: $CERT_IDENTITY"
6363
64-
# Remove any existing app bundle to prevent recursion
64+
# Create clean input directory with only the JAR file
65+
rm -rf jpackage-input
66+
mkdir -p jpackage-input
67+
cp target/EWItool-${{ steps.version.outputs.version }}.jar jpackage-input/
68+
69+
# Remove any existing app bundle
6570
rm -rf target/EWItool.app
6671
6772
# First create just the app-image (app bundle), not DMG yet
6873
jpackage \
6974
--type app-image \
7075
--name EWItool \
71-
--input target \
76+
--input jpackage-input \
7277
--main-jar EWItool-${{ steps.version.outputs.version }}.jar \
7378
--main-class com.github.ledhed2222.ewitool.Main \
7479
--dest target \

0 commit comments

Comments
 (0)