Skip to content

Commit 5ad1bce

Browse files
committed
fixed call
1 parent 6126777 commit 5ad1bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
$secureKey = $env:SFTP_KEY | ConvertTo-SecureString -AsPlainText -Force
9999
Set-Content -Path $key -Value $secureKey -Force -ErrorAction Stop
100100
Install-Module -Name Posh-SSH -Force -Scope CurrentUser -ErrorAction Stop
101-
$session = New-SFTPSession -ComputerName $env:SFTP_HOST -Username $env:SFTP_USER -KeyFile $key -AcceptKey -ErrorAction Stop
101+
$session = New-SFTPSession -ComputerName $env:SFTP_HOST -UserName $env:SFTP_USER -KeyFile $key -AcceptKey -ErrorAction Stop
102102
# Remove all old installers
103103
Get-SFTPChildItem -SessionId $session.SessionId -Path '/home/public/' | Where-Object { $_.Name -like 'STLGameLauncher-Setup-*.exe' } | ForEach-Object { Remove-SFTPItem -SessionId $session.SessionId -Path $_.FullName -ErrorAction Stop }
104104
# Upload the new installer

0 commit comments

Comments
 (0)