Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ jobs:
if: startsWith(matrix.platform, 'macos')
run: |
rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/dmg/MindWork AI Studio_*.dmg
rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/macos/MindWork AI Studio.app.tar.gz*
rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/macos/*.app.tar.gz*

- name: Delete previous artifact, which may exist due to caching (Windows - MSI)
if: startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'msi')
Expand Down Expand Up @@ -800,7 +800,7 @@ jobs:
name: MindWork AI Studio (macOS ${{ matrix.dotnet_runtime }})
path: |
runtime/target/${{ matrix.rust_target }}/release/bundle/dmg/MindWork AI Studio_*.dmg
runtime/target/${{ matrix.rust_target }}/release/bundle/macos/MindWork AI Studio.app.tar.gz*
runtime/target/${{ matrix.rust_target }}/release/bundle/macos/*.app.tar.gz*
if-no-files-found: error
retention-days: ${{ fromJSON(needs.determine_run_mode.outputs.artifact_retention_days) }}

Expand Down Expand Up @@ -993,6 +993,13 @@ jobs:
exit 1
fi

for platform in darwin-aarch64 darwin-x86_64 linux-aarch64 linux-x86_64 windows-aarch64 windows-x86_64; do
if ! jq -e --arg platform "$platform" '.platforms[$platform]' $GITHUB_WORKSPACE/release/assets/latest.json > /dev/null; then
echo "The generated latest.json is missing platform '$platform'."
exit 1
fi
done

- name: Show all release assets
run: ls -Rlhat $GITHUB_WORKSPACE/release/assets

Expand Down