From 9adaf6d527604a5a2df1e249123588e9b8f20a78 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Wed, 11 Dec 2024 22:04:38 +0300 Subject: [PATCH] update workflows --- .github/workflows/appimage.yml | 20 ++++++++++---------- .github/workflows/macos.yml | 26 +++++++++++++------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index c491e3997..25432d30d 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -46,13 +46,13 @@ jobs: chmod +x build/VoxelEngine chmod +x AppDir/usr/bin/vctest AppDir/usr/bin/vctest -e build/VoxelEngine -d dev/tests -u build --output-always -# - name: Build AppImage -# uses: AppImageCrafters/build-appimage-action@fe2205a4d6056be47051f7b1b3811106e9814910 -# env: -# UPDATE_INFO: gh-releases-zsync|MihailRis|VoxelEngine-Cpp|latest|*x86_64.AppImage.zsync -# with: -# recipe: dev/AppImageBuilder.yml -# - uses: actions/upload-artifact@v4 -# with: -# name: AppImage -# path: './*.AppImage*' + - name: Build AppImage + uses: AppImageCrafters/build-appimage-action@fe2205a4d6056be47051f7b1b3811106e9814910 + env: + UPDATE_INFO: gh-releases-zsync|MihailRis|VoxelEngine-Cpp|latest|*x86_64.AppImage.zsync + with: + recipe: dev/AppImageBuilder.yml + - uses: actions/upload-artifact@v4 + with: + name: AppImage + path: './*.AppImage*' diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index c0800c64c..3efb909cd 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -45,16 +45,16 @@ jobs: chmod +x build/VoxelEngine chmod +x AppDir/usr/bin/vctest AppDir/usr/bin/vctest -e build/VoxelEngine -d dev/tests -u build --output-always -# - name: Create DMG -# run: | -# mkdir VoxelEngineDmgContent -# cp -r build/res VoxelEngineDmgContent/ -# cp -r build/VoxelEngine VoxelEngineDmgContent/ -# cp -r build/libs VoxelEngineDmgContent/libs -# hdiutil create VoxelEngineMacApp.dmg -volname "VoxelEngine" -srcfolder VoxelEngineDmgContent -ov -format UDZO -# -# - name: Upload artifacts -# uses: actions/upload-artifact@v4 -# with: -# name: VoxelEngineMacOs -# path: VoxelEngineMacApp.dmg + - name: Create DMG + run: | + mkdir VoxelEngineDmgContent + cp -r build/res VoxelEngineDmgContent/ + cp -r build/VoxelEngine VoxelEngineDmgContent/ + cp -r build/libs VoxelEngineDmgContent/libs + hdiutil create VoxelEngineMacApp.dmg -volname "VoxelEngine" -srcfolder VoxelEngineDmgContent -ov -format UDZO + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: VoxelEngineMacOs + path: VoxelEngineMacApp.dmg