update workflows

This commit is contained in:
MihailRis 2024-12-11 22:04:38 +03:00
parent c1a7b7545a
commit 9adaf6d527
2 changed files with 23 additions and 23 deletions

View File

@ -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*'

View File

@ -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