[PR #466] [CLOSED] Use correct syntax for Powershell Scripts as file #1457

Closed
opened 2026-03-01 21:51:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/466
Author: @JustinGrote
Created: 1/11/2021
Status: Closed

Base: masterHead: patch-2


📄 Description

"Worker" Powershell scripts do not execute correctly, especially when trying to use an alternate image like -P ubuntu-latest:mcr.microsoft.com/powershell

This updates the command to execute to use the proper -f syntax rather than trying to do an inline call operator

Fixes #467

Attached is the compiled Windows binary for anyone needing this fix until the PR is merged.

act-PowershellFixed.zip


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/466 **Author:** [@JustinGrote](https://github.com/JustinGrote) **Created:** 1/11/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-2` --- ### 📄 Description "Worker" Powershell scripts do not execute correctly, especially when trying to use an alternate image like -P ubuntu-latest:mcr.microsoft.com/powershell This updates the command to execute to use the proper `-f` syntax rather than trying to do an inline call operator Fixes #467 Attached is the compiled Windows binary for anyone needing this fix until the PR is merged. [act-PowershellFixed.zip](https://github.com/nektos/act/files/5797997/act-PowershellFixed.zip) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:51:15 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1457
No description provided.