@@ -34,31 +34,25 @@ jobs:
34
34
35
35
- name : Package the .app into a .zip file
36
36
run : |
37
- ARCHIVE_PATH="./ build/Release/HDF5QL.app"
38
- ZIP_PATH="./build/ HDF5QL-${{ matrix.architecture }}.zip"
39
- zip -r $ZIP_PATH $ARCHIVE_PATH
37
+ cd build/Release/
38
+ zip -r HDF5QL-${{ matrix.target }}.app. zip HDF5QL.app
39
+ mv HDF5QL-${{ matrix.target }}.app.zip $GITHUB_WORKSPACE/
40
40
41
41
- name : Extract and package the .appex extension
42
42
run : |
43
- echo "🔍 Searching for .appex bundle..."
44
- appex_path=$(find ./build -type d -name "*.appex" | head -n 1)
45
-
46
- if [ -d "$appex_path" ]; then
47
- echo "✅ Found .appex at: $appex_path"
48
- zip -r "./build/HDF5QLExtension-${{ matrix.architecture }}.zip" "$appex_path"
49
- else
50
- echo "❌ .appex bundle not found. Check build configuration or path."
51
- exit 1
52
- fi
43
+ cd build/Release/HDF5QL.app/Contents/Plugins/
44
+ zip -r HDF5QLExtension-${{ matrix.target }}.appex.zip HDF5QLExtension.appex
45
+ mv HDF5QLExtension-${{ matrix.target }}.appex.zip $GITHUB_WORKSPACE/
46
+
53
47
54
48
- name : Upload .zip of .app
55
49
uses : actions/upload-release-asset@v1
56
50
env :
57
51
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
52
with :
59
53
upload_url : ${{ github.event.release.upload_url }}
60
- asset_path : ./build/HDF5QL-${{ matrix.architecture }}.zip
61
- asset_name : HDF5QL-${{ matrix.architecture }}.zip
54
+ asset_path : ./build/HDF5QL-${{ matrix.target }}.app .zip
55
+ asset_name : HDF5QL-${{ matrix.target }}.app .zip
62
56
asset_content_type : application/zip
63
57
64
58
- name : Upload .zip of .appex
67
61
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
68
62
with :
69
63
upload_url : ${{ github.event.release.upload_url }}
70
- asset_path : ./build/HDF5QLExtension-${{ matrix.architecture }}.zip
71
- asset_name : HDF5QLExtension-${{ matrix.architecture }}.zip
64
+ asset_path : ./build/HDF5QLExtension-${{ matrix.target }}.appex .zip
65
+ asset_name : HDF5QLExtension-${{ matrix.target }}.appex .zip
72
66
asset_content_type : application/zip
0 commit comments