From ede86e5e1b00eaa7a72b29605f10a94242a8cd00 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 16 Feb 2025 14:30:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Clean=20up=20call=20t?= =?UTF-8?q?o=20`main.ps1`=20(#9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description This pull request includes a small change to the `action.yml` file. The change modifies the script execution method from sourcing the script to directly running it. Changes in `runs:` in file `action.yml`: * Modified the script execution method from sourcing the script (`. "${{ github.action_path }}\scripts\main.ps1"`) to directly running it (`${{ github.action_path }}\scripts\main.ps1`). ## Type of change - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 6e54e1f..a03c982 100644 --- a/action.yml +++ b/action.yml @@ -29,4 +29,4 @@ runs: Verbose: true Script: | # Debug environment - . "${{ github.action_path }}\scripts\main.ps1" + ${{ github.action_path }}\scripts\main.ps1