aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: a499ff8414c21d2aa004132b604bd1ea896f2268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build Minecraft Legacy Console Edition
on:
  workflow_dispatch:

jobs:
  build:
    runs-on: windows-2022

    strategy:
      matrix:
        configuration: [Release, Debug]

    steps:
      - name: Checkout Repository
        uses: actions/checkout@v4

      - name: Setup MSBuild
        uses: microsoft/setup-msbuild@v2

      - name: Build Minecraft Legacy Console Edition
        run: |
          msbuild MinecraftConsoles.sln `
            /p:Configuration=${{ matrix.configuration }} `
            /p:Platform=Windows64 `
            /m
                  
      - name: Upload Release + Debug Artifacts
        uses: actions/upload-artifact@v4
        with:
          name: MinecraftClient-${{ matrix.configuration }}
          path: x64/${{ matrix.configuration }}