From e0670c11d50bfa9301f9b5dcc7da4d9625452117 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 7 Dec 2024 01:44:28 +0300 Subject: [PATCH] add 'Run engine (headless)' step to appimage workflow & disable Build AppImage and upload --- .github/workflows/appimage.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index 5d4cf976..d7c2a57f 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -40,13 +40,18 @@ jobs: run: cmake --build build -t install - name: Run tests run: ctest --test-dir ${{github.workspace}}/build - - 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: Run engine (headless) + run: | + mkdir ${{github.workspace}}/userdir + chmod +x ${{github.workspace}}/build/VoxelEngine + ${{github.workspace}}/build/VoxelEngine --headless --dir ${{github.workspace}}/userdir +# - 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*'