File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -735,7 +735,7 @@ jobs:
735735 if : startsWith(matrix.platform, 'macos')
736736 run : |
737737 rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/dmg/MindWork AI Studio_*.dmg
738- rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/macos/MindWork AI Studio .app.tar.gz*
738+ rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/macos/* .app.tar.gz*
739739
740740 - name : Delete previous artifact, which may exist due to caching (Windows - MSI)
741741 if : startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'msi')
@@ -800,7 +800,7 @@ jobs:
800800 name : MindWork AI Studio (macOS ${{ matrix.dotnet_runtime }})
801801 path : |
802802 runtime/target/${{ matrix.rust_target }}/release/bundle/dmg/MindWork AI Studio_*.dmg
803- runtime/target/${{ matrix.rust_target }}/release/bundle/macos/MindWork AI Studio .app.tar.gz*
803+ runtime/target/${{ matrix.rust_target }}/release/bundle/macos/* .app.tar.gz*
804804 if-no-files-found : error
805805 retention-days : ${{ fromJSON(needs.determine_run_mode.outputs.artifact_retention_days) }}
806806
@@ -993,6 +993,13 @@ jobs:
993993 exit 1
994994 fi
995995
996+ for platform in darwin-aarch64 darwin-x86_64 linux-aarch64 linux-x86_64 windows-aarch64 windows-x86_64; do
997+ if ! jq -e --arg platform "$platform" '.platforms[$platform]' $GITHUB_WORKSPACE/release/assets/latest.json > /dev/null; then
998+ echo "The generated latest.json is missing platform '$platform'."
999+ exit 1
1000+ fi
1001+ done
1002+
9961003 - name : Show all release assets
9971004 run : ls -Rlhat $GITHUB_WORKSPACE/release/assets
9981005
You can’t perform that action at this time.
0 commit comments