File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -221,11 +221,12 @@ jobs:
221221 ditto -c -k --keepParent SyntaxTutor.app SyntaxTutor.zip
222222
223223 - name : Upload artifacts
224+ run : |
225+ zip -qry SyntaxTutor-macos-arm64.zip SyntaxTutor.app
224226 uses : actions/upload-artifact@v4
225227 with :
226228 name : SyntaxTutor-macos-arm64
227- path : |
228- SyntaxTutor.app
229+ path : SyntaxTutor-macos-arm64.zip
229230
230231 build-windows :
231232 runs-on : windows-latest
@@ -265,11 +266,15 @@ jobs:
265266 Copy-Item .\release\SyntaxTutor.exe deploy\
266267 windeployqt --release .\deploy\SyntaxTutor.exe --dir deploy
267268
268- - name : Upload Windows ZIP
269+ - name : Zip Windows bundle
270+ run : powershell Compress-Archive -Path deploy -DestinationPath SyntaxTutor-windows-x64.zip
271+
272+ - name : Upload zipped Windows bundle
269273 uses : actions/upload-artifact@v4
270274 with :
271275 name : SyntaxTutor-windows-x64
272- path : deploy
276+ path : SyntaxTutor-windows-x64.zip
277+
273278
274279 build-linux :
275280 runs-on : ubuntu-latest
@@ -327,6 +332,7 @@ jobs:
327332 path : ' *.AppImage'
328333
329334 publish-prerelease :
335+ if : github.ref == 'refs/heads/main'
330336 name : Publish prerelease
331337 runs-on : ubuntu-latest
332338 needs :
You can’t perform that action at this time.
0 commit comments