File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -99,25 +99,33 @@ jobs:
9999 uses : actions/download-artifact@v4
100100 with :
101101 name : " mgconsole static Linux build X64"
102- path : linux-x86_64/mgconsole
102+ path : temp- linux-x64
103103
104104 - name : Download artifacts Linux ARM64
105105 uses : actions/download-artifact@v4
106106 with :
107107 name : " mgconsole static Linux build ARM64"
108- path : linux-aarch64/mgconsole
108+ path : temp- linux-arm64
109109
110110 - name : Download artifacts MacOS
111111 uses : actions/download-artifact@v4
112112 with :
113113 name : " mgconsole MacOS build"
114- path : macos/mgconsole
114+ path : temp- macos
115115
116116 - name : Download artifacts Windows
117117 uses : actions/download-artifact@v4
118118 with :
119119 name : " mgconsole Windows build"
120- path : windows/mgconsole.exe
120+ path : temp-windows
121+
122+ - name : Organize binaries
123+ run : |
124+ mkdir -p linux-x86_64 linux-aarch64 macos windows
125+ find temp-linux-x64 -name "mgconsole" -type f | head -1 | xargs -I {} cp {} linux-x86_64/mgconsole
126+ find temp-linux-arm64 -name "mgconsole" -type f | head -1 | xargs -I {} cp {} linux-aarch64/mgconsole
127+ find temp-macos -name "mgconsole" -type f | head -1 | xargs -I {} cp {} macos/mgconsole
128+ find temp-windows -name "mgconsole.exe" -type f | head -1 | xargs -I {} cp {} windows/mgconsole.exe
121129
122130 - name : Upload binaries to S3
123131 env :
You can’t perform that action at this time.
0 commit comments