dotnet-exec-action

June 12, 2026 ยท View on GitHub

Intro

Github Action for dotnet-exec

This is a Github action for executing C# scripts with dotnet-exec easily without setting up the .NET SDK

Arguments

script

Required, the script to be executed

options

Optional, the more options to be used when executing the script

arguments

Optional, the command-line arguments to be passed to the script

Example usage

- name: dotnet-exec script
  uses: WeihanLi/dotnet-exec-action@0.37.0
  with:
    script: "./build/build.cs" # script text or script path
    options: "--web --debug" # optional
    arguments: "target=test" # optional