@@ -15,12 +15,12 @@ jobs:
1515 steps :
1616
1717 - name : Git Checkout
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v6
1919 with :
2020 submodules : recursive
2121
2222 - name : Setup MSVC
23- uses : ilammy /msvc-dev-cmd@v1
23+ uses : step-security /msvc-dev-cmd@v1
2424 with :
2525 arch : x86
2626
3535 # Parse source files from abclib.dsp
3636 $dspContent = Get-Content "abclib.dsp" -Raw
3737 $sourceFiles = [regex]::Matches($dspContent, 'SOURCE=\.\\([^\r\n]+)') | ForEach-Object { $_.Groups[1].Value } | Sort-Object -Unique
38-
38+
3939 Write-Host "Found $($sourceFiles.Count) source files"
40-
40+
4141 # Build source file items
4242 $sourceItems = ""
4343 foreach ($src in $sourceFiles) {
@@ -49,12 +49,12 @@ jobs:
4949 $sourceItems += " <ClInclude Include=`"$src`" />`r`n"
5050 }
5151 }
52-
52+
5353 # Read template and replace placeholder
5454 $template = Get-Content ".github\scripts\abclib.vcxproj.template" -Raw
5555 $vcxproj = $template -replace '\{\{SOURCE_FILES\}\}', $sourceItems
5656 Set-Content "abclib.vcxproj" $vcxproj -NoNewline
57-
57+
5858 Write-Host "abclib.vcxproj generated successfully"
5959
6060 - name : Build
@@ -71,10 +71,12 @@ jobs:
7171 - name : Stage Executable
7272 run : |
7373 mkdir staging
74+ copy abcspace.sln staging\
75+ copy abclib.vcxproj staging\
7476 copy _TEST\abc.exe staging\
7577
7678 - name : Upload package artifact
77- uses : actions/upload-artifact@v4
79+ uses : actions/upload-artifact@v6
7880 with :
7981 name : package-windows
80- path : staging/
82+ path : staging/
0 commit comments