mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Fix MacOS artifact names
This commit is contained in:
parent
47f84fe4b4
commit
5109f865c7
4
.github/actions/build-electron/action.yml
vendored
4
.github/actions/build-electron/action.yml
vendored
@ -180,7 +180,7 @@ runs:
|
|||||||
dmg_file=$(find out -name "*.dmg" -print -quit)
|
dmg_file=$(find out -name "*.dmg" -print -quit)
|
||||||
if [ -n "$dmg_file" ]; then
|
if [ -n "$dmg_file" ]; then
|
||||||
echo "Found DMG: $dmg_file"
|
echo "Found DMG: $dmg_file"
|
||||||
cp "$dmg_file" "upload/TriliumNextNotes-${{ github.ref_name }}-darwin-${{ inputs.arch }}.dmg"
|
cp "$dmg_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.dmg"
|
||||||
else
|
else
|
||||||
echo "Warning: No DMG file found"
|
echo "Warning: No DMG file found"
|
||||||
fi
|
fi
|
||||||
@ -190,7 +190,7 @@ runs:
|
|||||||
zip_file=$(find out -name "*.zip" -print -quit)
|
zip_file=$(find out -name "*.zip" -print -quit)
|
||||||
if [ -n "$zip_file" ]; then
|
if [ -n "$zip_file" ]; then
|
||||||
echo "Found ZIP: $zip_file"
|
echo "Found ZIP: $zip_file"
|
||||||
cp "$zip_file" "upload/TriliumNextNotes-${{ github.ref_name }}-darwin-${{ inputs.arch }}.zip"
|
cp "$zip_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.zip"
|
||||||
else
|
else
|
||||||
echo "Warning: No ZIP file found"
|
echo "Warning: No ZIP file found"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user