[PR #1942] [MERGED] prefer pwsh on windows if found #2202

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

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1942
Author: @ChristopherHX
Created: 8/1/2023
Status: Merged
Merged: 8/8/2023
Merged by: @mergify[bot]

Base: masterHead: prefer-pwsh-on-windows-if-found


📝 Commits (3)

  • c66fd94 prefer pwsh on windows if found
  • afaff52 add dep
  • 6951cbc Merge branch 'master' into prefer-pwsh-on-windows-if-found

📊 Changes

2 files changed (+37 additions, -10 deletions)

View changed files

📝 pkg/runner/step_run.go (+37 -7)
📝 pkg/runner/testdata/windows-add-env/push.yml (+0 -3)

📄 Description

prefer bash over sh if found

One windows test no longer defines a default shell to test if it's pwsh

Related #1608


🔄 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/1942 **Author:** [@ChristopherHX](https://github.com/ChristopherHX) **Created:** 8/1/2023 **Status:** ✅ Merged **Merged:** 8/8/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `prefer-pwsh-on-windows-if-found` --- ### 📝 Commits (3) - [`c66fd94`](https://github.com/nektos/act/commit/c66fd9440838cf090e66ae746fdac07465d91442) prefer pwsh on windows if found - [`afaff52`](https://github.com/nektos/act/commit/afaff5293e9b22e29fb90fef69d8bf5ee6b04c8a) add dep - [`6951cbc`](https://github.com/nektos/act/commit/6951cbcda230865401c138c1a53f45f54ad769e4) Merge branch 'master' into prefer-pwsh-on-windows-if-found ### 📊 Changes **2 files changed** (+37 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/step_run.go` (+37 -7) 📝 `pkg/runner/testdata/windows-add-env/push.yml` (+0 -3) </details> ### 📄 Description prefer bash over sh if found One windows test no longer defines a default shell to test if it's pwsh Related #1608 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:54:26 +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#2202
No description provided.