Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Nov 15, 2024
1 parent cb7033b commit 5321a9d
Showing 1 changed file with 5 additions and 29 deletions.
34 changes: 5 additions & 29 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,37 +47,13 @@ jobs:
with:
fetch-depth: 0

# Ensure .editorconfig exists in all solution directories
- name: Apply .editorconfig to all solutions
# Ensure .editorconfig exists in the solution's directory
- name: Copy .editorconfig for current solution
shell: pwsh
run: |
$solutions = @(
"src/ReaLTaiizor.sln",
"sample/ReaLTaiizor.Defender/ReaLTaiizor.Defender.sln",
"sample/ReaLTaiizor.GenshinImpact/ReaLTaiizor.GenshinImpact.sln",
"sample/ReaLTaiizor.Instagram/ReaLTaiizor.Instagram.sln",
"sample/ReaLTaiizor.Kaspersky/ReaLTaiizor.Kaspersky.sln",
"sample/ReaLTaiizor.Login/ReaLTaiizor.Login.sln",
"sample/ReaLTaiizor.Payment/ReaLTaiizor.Payment.sln",
"sample/ReaLTaiizor.Player/ReaLTaiizor.Player.sln",
"sample/ReaLTaiizor.Rufus/ReaLTaiizor.Rufus.sln",
"sample/ReaLTaiizor.Splash/ReaLTaiizor.Splash.sln",
"sample/ReaLTaiizor.Store/ReaLTaiizor.Store.sln",
"sample/ReaLTaiizor.XAMPP/ReaLTaiizor.XAMPP.sln",
"ready/ReaLTaiizor.AppLocker/ReaLTaiizor.AppLocker.sln",
"ready/ReaLTaiizor.Hashing/ReaLTaiizor.Hashing.sln",
"ready/ReaLTaiizor.MAChanger/ReaLTaiizor.MAChanger.sln",
"ready/ReaLTaiizor.Nerator/ReaLTaiizor.Nerator.sln",
"ready/ReaLTaiizor.Portscan/ReaLTaiizor.Portscan.sln",
"ready/ReaLTaiizor.Stopwatch/ReaLTaiizor.Stopwatch.sln",
"ready/ReaLTaiizor.Translate/ReaLTaiizor.Translate.sln",
"demo/ReaLTaiizor.UI/ReaLTaiizor.UI.sln",
"demo/ReaLTaiizor.UX/ReaLTaiizor.UX.sln"
)
foreach ($solution in $solutions) {
$solutionDir = Split-Path -Path $solution
Copy-Item -Path ".editorconfig" -Destination "$solutionDir\.editorconfig" -Force
}
$solutionPath = "${{ matrix.solution }}"
$solutionDir = Split-Path -Path $solutionPath
Copy-Item -Path ".editorconfig" -Destination "$solutionDir\.editorconfig" -Force
# Install the .NET Core workload
- name: Install .NET Core
Expand Down

0 comments on commit 5321a9d

Please sign in to comment.