Skip to content

Commit

Permalink
[Build] Properly handle robocopy exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyFuller committed Apr 21, 2024
1 parent e18d665 commit be4c3cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
cd _build
mkdir _resourcetool
Copy-Item ResourceTool.exe -Destination _resourcetool/
robocopy ./ ./_resourcetool ResourceLib*.dll ResourceLib*.pdb
robocopy ./ ./_resourcetool ResourceLib*.dll ResourceLib*.pdb; if ($lastexitcode -lt 8) { $global:LASTEXITCODE = $null }
Copy-Item ../LICENSE -Destination _resourcetool/
- name: Copy CodeGen artifacts
Expand All @@ -67,7 +67,7 @@ jobs:
cd _build
mkdir _resourcelib
mkdir _resourcelib/Include
robocopy ./ ./_resourcelib ResourceLib*.dll ResourceLib*.pdb ResourceLib*.lib
robocopy ./ ./_resourcelib ResourceLib*.dll ResourceLib*.pdb ResourceLib*.lib; if ($lastexitcode -lt 8) { $global:LASTEXITCODE = $null }
Copy-Item ../Libraries/ResourceLib/Include/* -Destination _resourcelib/Include/
Copy-Item ../Libraries/ResourceLib/ResourceLib.cs -Destination _resourcelib/
Copy-Item ../LICENSE -Destination _resourcelib/
Expand Down

0 comments on commit be4c3cf

Please sign in to comment.