Fix MacOS artifact names

This commit is contained in:
perf3ct 2025-02-26 20:06:18 +00:00
parent 47f84fe4b4
commit 5109f865c7
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -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