Skip to content

Build your personal knowledge base with Trilium Notes

ci: adjust build-electron action to use the newly introduced outDir "./dist" for electron-forge

Panagiotis Papadopoulos67c752c11b38
diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml
index b5a140efce..51b022bed6 100644
--- a/.github/actions/build-electron/action.yml
+++ b/.github/actions/build-electron/action.yml
@@ -97,7 +97,7 @@ runs:
shell: bash
run: |
echo "Signing DMG file..."
- dmg_file=$(find out -name "*.dmg" -print -quit)
+ dmg_file=$(find ./dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
# Get the first valid signing identity from the keychain
@@ -125,7 +125,7 @@ runs:
# First check the .app bundle
echo "Looking for .app bundle..."
- app_bundle=$(find out -name "*.app" -print -quit)
+ app_bundle=$(find ./dist -name "*.app" -print -quit)
if [ -n "$app_bundle" ]; then
echo "Found app bundle: $app_bundle"
echo "Verifying app bundle signing..."
@@ -144,7 +144,7 @@ runs:
# Then check DMG if it exists
echo "Looking for DMG..."
- dmg_file=$(find out -name "*.dmg" -print -quit)
+ dmg_file=$(find ./dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
echo "Verifying DMG signing..."
@@ -160,7 +160,7 @@ runs:
# Finally check ZIP if it exists
echo "Looking for ZIP..."
- zip_file=$(find out -name "*.zip" -print -quit)
+ zip_file=$(find ./dist -name "*.zip" -print -quit)
if [ -n "$zip_file" ]; then
echo "Found ZIP: $zip_file"
echo "Note: ZIP files are not code signed, but their contents should be"
@@ -177,7 +177,7 @@ runs:
# Look for DMG files recursively
echo "Looking for DMG files..."
- dmg_file=$(find out -name "*.dmg" -print -quit)
+ dmg_file=$(find ./dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
cp "$dmg_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.dmg"
@@ -187,7 +187,7 @@ runs:
# Look for ZIP files recursively
echo "Looking for ZIP files..."
- zip_file=$(find out -name "*.zip" -print -quit)
+ zip_file=$(find ./dist -name "*.zip" -print -quit)
if [ -n "$zip_file" ]; then
echo "Found ZIP: $zip_file"
cp "$zip_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.zip"
@@ -199,7 +199,7 @@ runs:
echo "Collecting artifacts for ${{ inputs.os }}..."
for ext in ${{ inputs.extension }}; do
echo "Looking for .$ext files..."
- file=$(find out -name "*.$ext" -print -quit)
+ file=$(find ./dist -name "*.$ext" -print -quit)
if [ -n "$file" ]; then
echo "Found $file for extension $ext"
cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.$ext"