@@ -68,54 +68,55 @@ jobs:
68
68
echo "dist/mac-arm64 directory not found!"
69
69
fi
70
70
71
- # Create directory for zip files
72
- mkdir -p dist/zipped
71
+ # Create artifact directories
72
+ mkdir -p dist/intel
73
+ mkdir -p dist/apple-silicon
73
74
74
- # Remove quarantine attributes and create zip for Intel build
75
+ # Remove quarantine attributes and copy Intel build
75
76
if [ -d "dist/mac/BlitzLauncher.app" ]; then
76
77
echo "Removing quarantine attributes from Intel build"
77
78
sudo xattr -cr dist/mac/BlitzLauncher.app
78
79
79
- echo "Creating zip archive for Intel build"
80
- cd dist/mac
81
- zip -r ../zipped/BlitzLauncher-intel.zip BlitzLauncher.app
82
- cd ../..
80
+ echo "Copying Intel build to artifact directory"
81
+ cp -r dist/mac/BlitzLauncher.app dist/intel/
83
82
else
84
83
echo "Intel build not found at expected location: dist/mac/BlitzLauncher.app"
85
84
fi
86
85
87
- # Remove quarantine attributes and create zip for ARM build
86
+ # Remove quarantine attributes and copy ARM build
88
87
if [ -d "dist/mac-arm64/BlitzLauncher.app" ]; then
89
88
echo "Removing quarantine attributes from ARM build"
90
89
sudo xattr -cr dist/mac-arm64/BlitzLauncher.app
91
90
92
- echo "Creating zip archive for ARM build"
93
- cd dist/mac-arm64
94
- zip -r ../zipped/BlitzLauncher-apple-silicon.zip BlitzLauncher.app
95
- cd ../..
91
+ echo "Copying ARM build to artifact directory"
92
+ cp -r dist/mac-arm64/BlitzLauncher.app dist/apple-silicon/
96
93
else
97
94
echo "ARM build not found at expected location: dist/mac-arm64/BlitzLauncher.app"
98
95
fi
99
96
env :
100
97
GH_TOKEN : ${{ secrets.GH_TOKEN }}
101
98
102
- # Upload macOS Intel (x64) zip artifact
99
+ # Upload macOS Intel (x64) artifact
103
100
- name : Upload macOS Intel artifact
104
101
if : matrix.os == 'macos-latest'
105
102
uses : actions/upload-artifact@v4
106
103
with :
107
104
name : " BlitzLauncher-macos-intel"
108
- path : dist/zipped /BlitzLauncher-intel.zip
105
+ path : dist/intel /BlitzLauncher.app
109
106
if-no-files-found : warn
107
+ compression-level : 0
108
+ overwrite : true
110
109
111
- # Upload macOS ARM (Apple Silicon) zip artifact
110
+ # Upload macOS ARM (Apple Silicon) artifact
112
111
- name : Upload macOS ARM artifact
113
112
if : matrix.os == 'macos-latest'
114
113
uses : actions/upload-artifact@v4
115
114
with :
116
115
name : " BlitzLauncher-macos-apple-silicon"
117
- path : dist/zipped/BlitzLauncher- apple-silicon.zip
116
+ path : dist/apple-silicon/BlitzLauncher.app
118
117
if-no-files-found : warn
118
+ compression-level : 0
119
+ overwrite : true
119
120
120
121
- name : Package application (Linux)
121
122
if : matrix.os == 'ubuntu-latest'
0 commit comments