mirror of
https://github.com/BubbaGumpShrump/AutoTrackR2.git
synced 2025-05-07 02:45:30 +00:00
debugging
This commit is contained in:
parent
dfc2dd5477
commit
49dfbb2291
1 changed files with 13 additions and 2 deletions
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
@ -24,13 +24,24 @@ jobs:
|
|||
- name: Build
|
||||
run: dotnet build AutoTrackR2.sln --configuration Release --no-restore
|
||||
|
||||
- name: List build output directories
|
||||
run: |
|
||||
Write-Host "Listing build output directories:"
|
||||
Get-ChildItem -Recurse -Directory -Filter "Release" | ForEach-Object { Write-Host $_.FullName }
|
||||
|
||||
- name: Create artifacts directory
|
||||
run: mkdir artifacts
|
||||
|
||||
- name: Copy build output
|
||||
run: |
|
||||
Copy-Item "AutoTrackR2\bin\Release\net9.0-windows\*" "artifacts\"
|
||||
Copy-Item "AutoTrackR2_Setup\bin\Release\*" "artifacts\"
|
||||
$releaseDir = Get-ChildItem -Recurse -Directory -Filter "Release" | Select-Object -First 1
|
||||
if ($releaseDir) {
|
||||
Write-Host "Copying from: $($releaseDir.FullName)"
|
||||
Copy-Item "$($releaseDir.FullName)\*" "artifacts\" -Recurse
|
||||
} else {
|
||||
Write-Host "No Release directory found"
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue