mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-04 11:35:02 +03:00
bump dependencies && Purge SDKs before build (#9576)
* Update package-rhel-loong.sh * Update package-debian-loong.sh * Update build.yml * Update build-windows-x86.yml * Enhance SDK purge step with echo statements Added echo statements to display SDKs before and after purging. * Update build-windows-x86.yml * Update build.yml * Update build-windows-x86.yml * Update build.yml * Update build-windows-x86.yml
This commit is contained in:
@@ -34,6 +34,22 @@ jobs:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Purge SDKs
|
||||
shell: pwsh
|
||||
run: |
|
||||
echo "Before:"
|
||||
dotnet --list-sdks
|
||||
|
||||
dotnet --list-sdks | % {
|
||||
$_ -match '^\S+\s+\[(.+)\]$' > $null
|
||||
$d = Join-Path $Matches[1] $_.Split()[0]
|
||||
Write-Host "Removing $d"
|
||||
if ($IsWindows) { rm $d -r -fo } else { sudo rm -rf "$d" }
|
||||
}
|
||||
|
||||
echo "After:"
|
||||
dotnet --list-sdks 2>$null; $LASTEXITCODE=0
|
||||
|
||||
- name: Setup .NET 10.0.1xx
|
||||
uses: actions/setup-dotnet@v5.3.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user