File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 81
81
- # === Install State Tool ===
82
82
name : Install State Tool
83
83
uses : ActiveState/setup-state-tool@v1
84
+ if : runner.os != 'Windows'
85
+
86
+ - # === Install State Tool (Windows) ===
87
+ name : Install State Tool (Windows)
88
+ if : runner.os == 'Windows'
89
+ shell : pwsh
90
+ run : |
91
+ Invoke-Expression -Command ".\installers\install.ps1 -n"
92
+ echo "$env:LOCALAPPDATA\ActiveState\StateTool\release\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
93
+ Invoke-Expression "$env:LOCALAPPDATA\ActiveState\StateTool\release\bin\state config set optin.unstable true"
84
94
85
95
- # === Setup ===
86
96
name : Setup
@@ -262,7 +272,7 @@ jobs:
262
272
263
273
- # === Configure AWS credentials ==
264
274
name : Configure AWS credentials
265
- uses : aws-actions/configure-aws-credentials@v2
275
+ uses : aws-actions/configure-aws-credentials@v4
266
276
with :
267
277
role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
268
278
role-session-name : ${{ env.AWS_ROLE_SESSION_NAME }}
@@ -482,7 +492,7 @@ jobs:
482
492
483
493
- # === Configure AWS credentials ==
484
494
name : Configure AWS credentials
485
- uses : aws-actions/configure-aws-credentials@v2
495
+ uses : aws-actions/configure-aws-credentials@v4
486
496
with :
487
497
role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
488
498
role-session-name : ${{ env.AWS_ROLE_SESSION_NAME }}
Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ scripts:
81
81
- name : install-deps-ci
82
82
language : bash
83
83
standalone : true
84
- if : ne .Shell "cmd"
85
84
value : |
86
85
if { [[ "$GOOS" == "windows" ]] || [[ "$OS" == "Windows_NT" ]]; } && ! type "goversioninfo" &> /dev/null; then
87
86
echo "goversioninfo was not found on your PATH. Installing .."
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ function setShellOverride
154
154
$currentPid = $PID
155
155
while ($currentPid -ne 0 )
156
156
{
157
- $process = Get-WmiObject Win32_Process | Where-Object { $_.ProcessId -eq $currentPid }
157
+ $process = Get-CimInstance Win32_Process | Where-Object { $_.ProcessId -eq $currentPid }
158
158
if (! $process ) { break }
159
159
160
160
if ($process.Name -eq " cmd" -or $process.Name -eq " cmd.exe" )
Original file line number Diff line number Diff line change 1
- 0.47.1-RC1
1
+ 0.47.1-RC1
You can’t perform that action at this time.
0 commit comments