@@ -68,55 +68,66 @@ jobs:
68
68
echo "dist/mac-arm64 directory not found!"
69
69
fi
70
70
71
- # Create artifact directories
72
- mkdir -p dist/ intel
73
- mkdir -p dist/apple -silicon
71
+ # Create completely separate artifact directories outside of the dist folder
72
+ mkdir -p macos- intel-artifact
73
+ mkdir -p macos -silicon-artifact
74
74
75
- # Remove quarantine attributes and copy Intel build
75
+ # Process Intel build
76
76
if [ -d "dist/mac/BlitzLauncher.app" ]; then
77
77
echo "Removing quarantine attributes from Intel build"
78
78
sudo xattr -cr dist/mac/BlitzLauncher.app
79
79
80
- echo "Copying Intel build to artifact directory"
81
- cp -r dist/mac/BlitzLauncher.app dist/intel/
80
+ echo "Copying Intel build to dedicated artifact directory"
81
+ cp -r dist/mac/BlitzLauncher.app macos-intel-artifact/
82
+
83
+ # Create basic readme so users know what this is
84
+ echo "BlitzLauncher for macOS (Intel/x64)" > macos-intel-artifact/README.txt
82
85
else
83
86
echo "Intel build not found at expected location: dist/mac/BlitzLauncher.app"
87
+ echo "Build not found" > macos-intel-artifact/MISSING.txt
84
88
fi
85
89
86
- # Remove quarantine attributes and copy ARM build
90
+ # Process ARM build
87
91
if [ -d "dist/mac-arm64/BlitzLauncher.app" ]; then
88
92
echo "Removing quarantine attributes from ARM build"
89
93
sudo xattr -cr dist/mac-arm64/BlitzLauncher.app
90
94
91
- echo "Copying ARM build to artifact directory"
92
- cp -r dist/mac-arm64/BlitzLauncher.app dist/apple-silicon/
95
+ echo "Copying ARM build to dedicated artifact directory"
96
+ cp -r dist/mac-arm64/BlitzLauncher.app macos-silicon-artifact/
97
+
98
+ # Create basic readme so users know what this is
99
+ echo "BlitzLauncher for macOS (Apple Silicon/ARM64)" > macos-silicon-artifact/README.txt
93
100
else
94
101
echo "ARM build not found at expected location: dist/mac-arm64/BlitzLauncher.app"
102
+ echo "Build not found" > macos-silicon-artifact/MISSING.txt
95
103
fi
104
+
105
+ # Show what's in each artifact directory
106
+ echo "=== Intel artifact directory contents ==="
107
+ ls -la macos-intel-artifact/
108
+
109
+ echo "=== Apple Silicon artifact directory contents ==="
110
+ ls -la macos-silicon-artifact/
96
111
env :
97
112
GH_TOKEN : ${{ secrets.GH_TOKEN }}
98
113
99
- # Upload macOS Intel (x64) artifact
114
+ # Upload macOS Intel build as separate step with very explicit path
100
115
- name : Upload macOS Intel artifact
101
116
if : matrix.os == 'macos-latest'
102
117
uses : actions/upload-artifact@v4
103
118
with :
104
119
name : " BlitzLauncher-macos-intel"
105
- path : dist/ intel/BlitzLauncher.app
120
+ path : macos- intel-artifact
106
121
if-no-files-found : warn
107
- compression-level : 0
108
- overwrite : true
109
122
110
- # Upload macOS ARM (Apple Silicon) artifact
123
+ # Upload macOS ARM build as separate step with very explicit path
111
124
- name : Upload macOS ARM artifact
112
125
if : matrix.os == 'macos-latest'
113
126
uses : actions/upload-artifact@v4
114
127
with :
115
128
name : " BlitzLauncher-macos-apple-silicon"
116
- path : dist/apple -silicon/BlitzLauncher.app
129
+ path : macos -silicon-artifact
117
130
if-no-files-found : warn
118
- compression-level : 0
119
- overwrite : true
120
131
121
132
- name : Package application (Linux)
122
133
if : matrix.os == 'ubuntu-latest'
0 commit comments