File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 1717 - name : Check-out repository
1818 uses : actions/checkout@v3
1919
20+ # Prepared environment
2021 - name : Set up Python 3.11
2122 uses : actions/setup-python@v4
2223 with :
4041 with :
4142 install-only : true
4243
44+ # Compilation
4345 - name : Build (Windows)
4446 if : ${{ runner.os == 'Windows' }}
4547 uses : Nuitka/Nuitka-Action@main
@@ -81,10 +83,30 @@ jobs:
8183 include-data-dir : config=config
8284 macos-app-icon : data/images/logo_small.ico
8385
84- - name : Compressed Files
86+ # Compressed Files
87+ - name : Install 7zip (macOS)
88+ if : ${{ runner.os == 'macOS' }}
89+ run : |
90+ brew update
91+ brew install sevenzip
92+
93+ - name : Install 7zip (Linux)
94+ if : ${{ runner.os == 'Linux' }}
95+ run : |
96+ wget https://www.7-zip.org/a/7z2201-linux-x64.tar.xz
97+ tar -xf 7z2201-linux-x64.tar.xz
98+ sudo cp 7zz /usr/bin/7zz
99+
100+ - name : Compressed Files (Windows)
101+ if : ${{ runner.os == 'Windows' }}
85102 run : |
86103 7z a -tzip -mx=9 -mm=LZMA -mfb=258 -mmt=on ./build/meg-${{ runner.os }}-x86_64.zip ./build/main.dist/*
87104
105+ - name : Compressed Files (Linux & macOS)
106+ if : ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
107+ run : |
108+ 7zz a -tzip -mx=9 -mm=LZMA -mfb=258 -mmt=on ./build/meg-${{ runner.os }}-x86_64.zip ./build/main.dist/*
109+
88110 - name : Upload Artifacts
89111 uses : actions/upload-artifact@v3
90112 with :
You can’t perform that action at this time.
0 commit comments