Files
cafeberry-dev/.gitea/workflows/ps3.yaml
T
2026-08-02 16:08:28 -04:00

45 lines
1.2 KiB
YAML

name: Build PS3
on:
workflow_dispatch:
inputs:
configuration:
description: 'Configuration for the build (e.g. Debug, Release).'
required: true
default: 'Release'
jobs:
build:
runs-on: windows-2022
strategy:
matrix:
platform: [PS3]
steps:
- name: Checkout Repository
uses: https://github.com/actions/checkout@v4
with:
fetch-depth: 1
lfs: false
- name: Build Cafeberry
run: |
& "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" MinecraftConsoles.sln `
/p:Configuration=${{ inputs.configuration }} `
/p:Platform=${{ matrix.platform }} `
/m
- 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/
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
name: build-${{ matrix.platform }}
path: staging/*