Skip to content

Bump actions/checkout from 3 to 4 (#37) #172

Bump actions/checkout from 3 to 4 (#37)

Bump actions/checkout from 3 to 4 (#37) #172

name: .NET Core Desktop
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
configuration: [Debug]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.3.1
- name: Restore the application
run: msbuild /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Build
run: msbuild /property:Configuration=Debug
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: SWSH-Overworld-RNG-GUI
path: |
./SWSH_OWRNG_Generator.WinForms/bin/Debug