From 14ceff64d9da507819638089cef354d46709ff79 Mon Sep 17 00:00:00 2001 From: str1k3r <115313679+S1l3ntStr1ke87@users.noreply.github.com> Date: Sun, 2 Aug 2026 16:08:28 -0400 Subject: [PATCH] fix: each plat workflow --- .gitea/workflows/orbis.yaml | 15 ++++++++++----- .gitea/workflows/ps3.yaml | 6 ++++-- .gitea/workflows/psvita.yaml | 11 +++++++---- .gitea/workflows/windows64.yaml | 5 ++++- .gitea/workflows/xbox.yaml | 15 ++++++++++----- 5 files changed, 35 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/orbis.yaml b/.gitea/workflows/orbis.yaml index 17ccc275..302d32cf 100644 --- a/.gitea/workflows/orbis.yaml +++ b/.gitea/workflows/orbis.yaml @@ -14,27 +14,32 @@ jobs: strategy: matrix: - platform: [ORBIS] + platform: [Orbis] steps: - name: Checkout Repository uses: https://github.com/actions/checkout@v4 + with: + fetch-depth: 1 + 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=${{ matrix.platform }} ` + "/p:Platform=$platform" ` /m - - name: Zip Build (Consoles) - if: matrix.platform != 'Windows64' + - name: Zip Build run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj" - name: Stage artifacts run: | New-Item -ItemType Directory -Force -Path staging - Copy-Item LCE${{ matrix.platform }}.zip staging/ + Copy-Item LCE${{ matrix.platform }}.zip staging/ + Copy-Item "./ORBIS_${{ matrix.configuration }}/Minecraft.Client.pkg" staging/LCEOrbis.pkg - name: Upload artifacts uses: https://github.com/actions/upload-artifact@v3 diff --git a/.gitea/workflows/ps3.yaml b/.gitea/workflows/ps3.yaml index 307a607f..fc41f9c2 100644 --- a/.gitea/workflows/ps3.yaml +++ b/.gitea/workflows/ps3.yaml @@ -19,6 +19,9 @@ jobs: steps: - name: Checkout Repository uses: https://github.com/actions/checkout@v4 + with: + fetch-depth: 1 + lfs: false - name: Build Cafeberry run: | @@ -27,8 +30,7 @@ jobs: /p:Platform=${{ matrix.platform }} ` /m - - name: Zip Build (Consoles) - if: matrix.platform != 'Windows64' + - name: Zip Build run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj" - name: Stage artifacts diff --git a/.gitea/workflows/psvita.yaml b/.gitea/workflows/psvita.yaml index e70bc569..50d906f3 100644 --- a/.gitea/workflows/psvita.yaml +++ b/.gitea/workflows/psvita.yaml @@ -19,6 +19,9 @@ jobs: steps: - name: Checkout Repository uses: https://github.com/actions/checkout@v4 + with: + fetch-depth: 1 + lfs: false - name: Build Cafeberry run: | @@ -27,14 +30,14 @@ jobs: /p:Platform=${{ matrix.platform }} ` /m - - name: Zip Build (Consoles) - if: matrix.platform != 'Windows64' - run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj" + - name: Zip Build + run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/PSVITA_GAME/* - name: Stage artifacts run: | New-Item -ItemType Directory -Force -Path staging - Copy-Item LCE${{ matrix.platform }}.zip staging/ + Copy-Item LCE${{ matrix.platform }}.zip staging/ + Copy-Item "./PSVita_${{ matrix.configuration }}/Minecraft.Client.vpk" staging/LCEPSVita.vpk - name: Upload artifacts uses: https://github.com/actions/upload-artifact@v3 diff --git a/.gitea/workflows/windows64.yaml b/.gitea/workflows/windows64.yaml index 013ec969..d414f7ee 100644 --- a/.gitea/workflows/windows64.yaml +++ b/.gitea/workflows/windows64.yaml @@ -19,6 +19,9 @@ jobs: steps: - name: Checkout Repository uses: https://github.com/actions/checkout@v4 + with: + fetch-depth: 1 + lfs: false - name: Build Cafeberry run: | @@ -29,7 +32,7 @@ jobs: - name: Zip Build (Consoles) if: matrix.platform != 'Windows64' - run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj" + run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.pdb" "-x!*.pch" "-x!*.ilk" - name: Stage artifacts run: | diff --git a/.gitea/workflows/xbox.yaml b/.gitea/workflows/xbox.yaml index 2455bd4b..11daf306 100644 --- a/.gitea/workflows/xbox.yaml +++ b/.gitea/workflows/xbox.yaml @@ -14,22 +14,27 @@ jobs: strategy: matrix: - platform: [Xbox 360] + platform: [Xbox360] steps: - name: Checkout Repository uses: https://github.com/actions/checkout@v4 + with: + fetch-depth: 1 + lfs: false - name: Build Cafeberry run: | + $platform = if ("${{ matrix.platform }}" -eq "Xbox360") { "Xbox 360" } + & "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln ` /p:Configuration=${{ inputs.configuration }} ` - /p:Platform=${{ matrix.platform }} ` + "/p:Platform=$platform" ` /m - - name: Zip Build (Consoles) - if: matrix.platform != 'Windows64' - run: 7z a -r LCE${{ matrix.platform }}.zip ./${{ matrix.platform }}_${{ inputs.configuration }}/* "-x!*.ipdb" "-x!*.iobj" + + - name: Zip Build + run: 7z a -r LCE${{ matrix.platform }}.zip ./X360_${{ inputs.configuration }}/* "-x!*.pdb" "-x!*.pch" "-x!*.xdb" - name: Stage artifacts run: |