Skip to content

Commit f2584e7

Browse files
authored
repo sync
2 parents 0a37f55 + 0fc817b commit f2584e7

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

content/actions/reference/workflow-syntax-for-github-actions.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,8 @@ You can override the default shell settings in the runner's operating system usi
646646
| All | `python` | Executes the python command. | `python {0}` |
647647
| Linux / macOS | `sh` | The fallback behavior for non-Windows platforms if no shell is provided and `bash` is not found in the path. | `sh -e {0}` |
648648
| Windows | `cmd` | {% data variables.product.prodname_dotcom %} appends the extension `.cmd` to your script name and substitutes for `{0}`. | `%ComSpec% /D /E:ON /V:OFF /S /C "CALL "{0}""`. |
649-
| Windows | `powershell` | This is the default shell used on Windows. The Desktop PowerShell. {% data variables.product.prodname_dotcom %} appends the extension `.ps1` to your script name. | `powershell -command ". '{0}'"`. |
649+
| Windows | `pwsh` | This is the default shell used on Windows. The PowerShell Core. {% data variables.product.prodname_dotcom %} appends the extension `.ps1` to your script name. If your self-hosted Windows runner does not have _PowerShell Core_ installed, then _PowerShell Desktop_ is used instead.| `pwsh -command ". '{0}'"`. |
650+
| Windows | `powershell` | The PowerShell Desktop. {% data variables.product.prodname_dotcom %} appends the extension `.ps1` to your script name. | `powershell -command ". '{0}'"`. |
650651

651652
#### Example running a script using bash
652653

@@ -675,6 +676,15 @@ steps:
675676
shell: pwsh
676677
```
677678

679+
#### Example: Using PowerShell Desktop to run a script
680+
681+
```yaml
682+
steps:
683+
- name: Display the path
684+
run: echo ${env:PATH}
685+
shell: powershell
686+
```
687+
678688
#### Example running a python script
679689

680690
```yaml

content/admin/configuration/configuring-an-outbound-web-proxy-server.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ When a proxy server is enabled for {% data variables.product.product_location %}
2121
{% data reusables.enterprise_management_console.privacy %}
2222
4. Under **HTTP Proxy Server**, type the URL of your proxy server.
2323
![Field to type the HTTP Proxy Server URL](/assets/images/enterprise/management-console/http-proxy-field.png)
24-
5. Optionally, under **HTTP Proxy Exclusion**, type any hosts that do not require proxy access, separating hosts with commas.
24+
25+
5. Optionally, under **HTTP Proxy Exclusion**, type any hosts that do not require proxy access, separating hosts with commas. To exclude all hosts in a domain from requiring proxy access, you can use `.` as a wildcard prefix. For example: `.octo-org.tentacle`
2526
![Field to type any HTTP Proxy Exclusions](/assets/images/enterprise/management-console/http-proxy-exclusion-field.png)
27+
2628
{% data reusables.enterprise_management_console.save-settings %}

0 commit comments

Comments
 (0)