File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 2222 name : " macOS"
2323 build_type : Release
2424 steps :
25- # ... garde EXACTEMENT tes steps existants pour Linux/macOS ...
2625 - name : Checkout code
2726 uses : actions/checkout@v4
2827 with :
8887 mkdir -p build-win32 && cd build-win32
8988 i686-w64-mingw32-cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT=ON ..
9089 make -j\$(nproc)
91- cpack -G ZIP
92- cp FreeMajor-*.zip ../FreeMajor-dev-win32.zip || true
90+ cpack -G ZIP || true
91+ mkdir -p ../release
92+ find . -name "*.exe" -o -name "*.zip" | xargs -I {} cp {} ../release/FreeMajor-dev-win32.zip || true
9393 "
9494
9595 # Win64
@@ -100,9 +100,10 @@ jobs:
100100 mkdir -p build-win64 && cd build-win64
101101 x86_64-w64-mingw32-cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT=ON ..
102102 make -j\$(nproc)
103- cpack -G ZIP
104- cp FreeMajor-*.zip ../FreeMajor-dev-win64.zip || true
105- "
103+ cpack -G ZIP || true
104+ mkdir -p ../release
105+ find . -name "*.exe" -o -name "*.zip" | xargs -I {} cp {} ../release/FreeMajor-dev-win32.zip || true
106+ "
106107
107108 - name : Upload Windows artifacts
108109 if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments