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