ci: replace all pwsh with powershell for gitea-act runner compatibility
CI / test (push) Successful in 48s
CI / build (push) Failing after 48s
CI / release (push) Skipped

This commit is contained in:
fristy committed 2026-09-05 13:45:55 +03:00
1 parent de22472482
commit 5a36cd9b21
1 file changed
+2 -2
+2 -2
View File
@@ -92,7 +92,7 @@ jobs:
Write-Host "NuGet cache hit: ${{ steps.nuget-cache.outputs.cache-hit }}" Write-Host "NuGet cache hit: ${{ steps.nuget-cache.outputs.cache-hit }}"
- name: Run tests (if any test projects exist) - name: Run tests (if any test projects exist)
shell: pwsh shell: powershell
run: | run: |
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
$tests = @(Get-ChildItem -Recurse -Filter "*Tests.csproj" | Where-Object { $_.FullName -notlike "*\obj\*" -and $_.FullName -notlike "*\bin\*" }) $tests = @(Get-ChildItem -Recurse -Filter "*Tests.csproj" | Where-Object { $_.FullName -notlike "*\obj\*" -and $_.FullName -notlike "*\bin\*" })
@@ -148,7 +148,7 @@ jobs:
run: dotnet tool restore run: dotnet tool restore
- name: Package with Velopack (Setup.exe + Portable.zip) - name: Package with Velopack (Setup.exe + Portable.zip)
shell: pwsh shell: powershell
run: | run: |
$ErrorActionPreference = "Stop" $ErrorActionPreference = "Stop"
& powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/release/package-velopack.ps1 & powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts/release/package-velopack.ps1