File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,13 @@ jobs:
3434 - name : Build
3535 run : dotnet publish -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true
3636
37- # Step 5: Check local files
38- - name : Check local files
39- if : ${{ github.event_name != 'release' }}
37+ # Step 5: Compress to zip
38+ - name : Compress to zip
4039 run : |
41- Get-ChildItem -Path XMLPatch -Recurse | Select-Object FullName, Length, LastWriteTime
42- Get-ChildItem -Path XMLDiff -Recurse | Select-Object FullName, Length, LastWriteTime
40+ mkdir -p XMLDiffAndPatch
41+ cp -r XMLPatch\bin\Release\net8.0\win-x64\XMLPatch.exe XMLDiffAndPatch
42+ cp -r XMLDiff\bin\Release\net8.0\win-x64\XMLDiff.exe XMLDiffAndPatch
43+ 7z a -tzip XMLDiffAndPatch.zip XMLDiffAndPatch
4344 shell : powershell
4445
4546
You can’t perform that action at this time.
0 commit comments