Skip to content

Update dotnet.yml

Update dotnet.yml #3

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup MSBuild
      uses: microsoft/setup-msbuild@v2
    - name: Setup NuGet
uses: NuGet/setup-nuget@v2

Check failure on line 26 in .github/workflows/dotnet.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dotnet.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
    - name: Restore NuGet Packages
      run: nuget restore DeppartPrototypeHentaiPlayMod.sln
 
    - name: Build and Publish Web App
      run: msbuild DeppartPrototypeHentaiPlayMod.sln /p:Configuration=${{ matrix.configuration }}
 
    - name: Upload Artifact
      uses: actions/upload-artifact@v4
      with:
        name: Mods
        path: bin\Release