Skip to content

C# Compiler

C# Compiler #65

Workflow file for this run

name: Build Compiler
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: windows-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup DotNet
uses: actions/setup-dotnet@v4
with:
cache: true
dotnet-version: 8.0.x
cache-dependency-path: "src/Compiler/packages.lock.json"
- name: Install dependencies
run: dotnet restore --locked-mode
- name: Build
run: dotnet publish .\src\Compiler\Compiler.csproj --sc -c Release
- uses: actions/upload-artifact@v4
with:
name: Compiler
path: .\src\Compiler\bin\Release\win-x64\publish\Compiler.exe