fix: adapt CI/CD for Gitea compatibility
Build / Build (push) Successful in 9m29s
Build and Release / prepare (push) Successful in 1s
Build and Release / build_linux (push) Failing after 43s
Build and Release / build_macos (push) Failing after 11s
Build and Release / build_windows (push) Failing after 14s
Build and Release / publish_release (push) Has been skipped
MSVC Build / build-windows (windows-latest) (push) Has been cancelled
Build / Build (push) Successful in 9m29s
Build and Release / prepare (push) Successful in 1s
Build and Release / build_linux (push) Failing after 43s
Build and Release / build_macos (push) Failing after 11s
Build and Release / build_windows (push) Failing after 14s
Build and Release / publish_release (push) Has been skipped
MSVC Build / build-windows (windows-latest) (push) Has been cancelled
- Replace upload/download-artifact v4 with v3 (v4 not supported on Gitea) - Fix ObjectsPool::allocateNew() usage (returns void, not bool) - Add cmake and build-essential to dependencies - Update release workflow to use softprops/action-gh-release
This commit is contained in:
@@ -59,7 +59,7 @@ jobs:
|
||||
UPDATE_INFO: gh-releases-zsync|MihailRis|VoxelEngine-Cpp|latest|*x86_64.AppImage.zsync
|
||||
with:
|
||||
recipe: dev/AppImageBuilder.yml
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: AppImage
|
||||
path: './*.AppImage*'
|
||||
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
run: ctest --test-dir ${{github.workspace}}/build
|
||||
- name: Upload artifacts
|
||||
if: ${{ inputs.upload_artifacts }}
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: VoxelEngine
|
||||
path: |
|
||||
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
hdiutil create VoxelEngineMacApp.dmg -volname "VoxelEngine" -srcfolder VoxelEngineDmgContent -ov -format UDZO
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: VoxelEngineMacOs
|
||||
path: VoxelEngineMacApp.dmg
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
with:
|
||||
ref: ${{ env.BRANCH_NAME }}
|
||||
- name: Download Build Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: ./artifacts
|
||||
- name: Show Artifacts
|
||||
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
cp build/*.dll packaged/
|
||||
cp -r build/res/* packaged/res/
|
||||
mv packaged/VoxelEngine.exe packaged/VoxelCore.exe
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Windows-Build
|
||||
path: 'packaged/*'
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
cp C:/Windows/System32/msvcp140.dll packaged/msvcp140.dll
|
||||
mv packaged/VoxelEngine.exe packaged/VoxelCore.exe
|
||||
working-directory: ${{ github.workspace }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Windows-Build
|
||||
path: 'packaged/*'
|
||||
|
||||
Reference in New Issue
Block a user