name: Build Orbis on: workflow_dispatch: inputs: configuration: description: 'Configuration for the build (e.g. Debug, Release).' required: true default: 'Release' type: choice options: - Debug - Release - ContentPackage - ReleaseForArt jobs: build: runs-on: sdk-orbis strategy: matrix: platform: [Orbis] steps: - name: Checkout Repository uses: https://github.com/actions/checkout@v4 with: fetch-depth: 1 clean: false lfs: false - name: Build Cafeberry run: | $platform = if ("${{ matrix.platform }}" -eq "Orbis") { "ORBIS" } & "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln ` /p:Configuration=${{ inputs.configuration }} ` "/p:Platform=$platform" ` /m - name: Zip Build run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/PS4_GAME/* "-x!*.ipdb" "-x!*.iobj" - name: Stage artifacts run: | New-Item -ItemType Directory -Force -Path staging Copy-Item LCE${{ matrix.platform }}.zip staging/ Copy-Item "./ORBIS_${{ inputs.configuration }}/Minecraft.Client.pkg" staging/LCEOrbis.pkg - name: Upload artifacts uses: https://github.com/christopherHX/gitea-upload-artifact@v4 with: name: build-${{ matrix.platform }} path: staging/* compression-level: 0