From 30066b3efbbb1d4bd27f807420c10c65fe7491fa Mon Sep 17 00:00:00 2001
From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com>
Date: Fri, 6 Mar 2026 17:11:42 +0100
Subject: [PATCH 1/3] Restrict workflow triggers to 'src/**' paths
Limit workflow triggers to changes in the 'src' directory.
---
.github/workflows/dotnet.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 2b0a6e6..76b3f42 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -6,8 +6,10 @@ name: .NET
on:
push:
branches: [ "main" ]
+ paths: [ "src/**" ]
pull_request:
branches: [ "main" ]
+ paths: [ "src/**" ]
jobs:
build:
From 88493f6a564963cfe39fcd28af30d9bbf2f97a95 Mon Sep 17 00:00:00 2001
From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com>
Date: Fri, 6 Mar 2026 17:12:05 +0100
Subject: [PATCH 2/3] Add path filter for src directory in workflow
---
.github/workflows/choco-deploy.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/choco-deploy.yml b/.github/workflows/choco-deploy.yml
index 0f6f976..5921fa1 100644
--- a/.github/workflows/choco-deploy.yml
+++ b/.github/workflows/choco-deploy.yml
@@ -3,6 +3,7 @@ name: Deploy Chocolatey Package
on:
push:
branches: [ "main" ]
+ paths: [ "src/**" ]
jobs:
deploy:
From d77a25a3c4740a08488b3b573fc1f1afdc8d972d Mon Sep 17 00:00:00 2001
From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com>
Date: Fri, 6 Mar 2026 17:09:40 +0100
Subject: [PATCH 3/3] Document NuGet installation methods for YesNt.Interpreter
package
---
docs/library-api.md | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/docs/library-api.md b/docs/library-api.md
index 1fcfd87..34ec50f 100644
--- a/docs/library-api.md
+++ b/docs/library-api.md
@@ -21,7 +21,30 @@ to embed the YesNt interpreter and run scripts programmatically.
## Adding the reference
-Add a project reference to `YesNt.Interpreter` in your `.csproj`:
+### Via NuGet (recommended)
+
+Install the [`YesNt.Interpreter`](https://www.nuget.org/packages/YesNt.Interpreter/) package using one of the following methods.
+
+**.NET CLI:**
+```
+dotnet add package YesNt.Interpreter
+```
+
+**Package Manager Console:**
+```
+Install-Package YesNt.Interpreter
+```
+
+**`.csproj`:**
+```xml
+
+
+
+```
+
+### Via project reference
+
+If you have cloned the repository and want to reference the source directly, add a project reference in your `.csproj`:
```xml