Skip to content

[Build] Remove Nuke. Migrate to ModularPipelines #15

[Build] Remove Nuke. Migrate to ModularPipelines

[Build] Remove Nuke. Migrate to ModularPipelines #15

Workflow file for this run

name: Compile
on:
push:
branches:
- '*'
pull_request:
jobs:
windows:
name: windows-2022
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache NuGet
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', 'Directory.Build.props', 'Directory.Packages.props') }}
restore-keys: ${{ runner.os }}-nuget-
- name: Publish packages
run: dotnet run -c Release
working-directory: "build"
env:
DOTNET_ENVIRONMENT: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Development' }}