File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 - name : Package Artifacts
3737 run : |
38- mkdir -p artifacts
39- Compress-Archive -Path SHOWOFF-NVSE\Release\ShowOffNVSE.dll, SHOWOFF-NVSE\Release\ShowOffNVSE.pdb -DestinationPath artifacts\ShowOffNVSE-Release-${{ env.artifact_timestamp }}.zip
40- Compress-Archive -Path SHOWOFF-NVSE\Debug\ShowOffNVSE.dll, SHOWOFF-NVSE\Debug\ShowOffNVSE.pdb -DestinationPath artifacts\ShowOffNVSE-Debug-${{ env.artifact_timestamp }}.zip
38+ $releaseDir = "SHOWOFF-NVSE\Release"
39+ $debugDir = "SHOWOFF-NVSE\Debug"
40+ New-Item -ItemType Directory -Name artifacts -Force | Out-Null
41+ New-Item -ItemType Directory -Name "nvse\plugins" -path $releaseDir -Force | Out-Null
42+ New-Item -ItemType Directory -Name "nvse\plugins" -path $debugDir -Force | Out-Null
43+ Copy-Item -Path "$releaseDir\ShowOffNVSE.dll", "$releaseDir\ShowOffNVSE.pdb" -Destination "$releaseDir\nvse\plugins"
44+ Copy-Item -Path "$debugDir\ShowOffNVSE.dll", "$debugDir\ShowOffNVSE.pdb" -Destination "$debugDir\nvse\plugins"
45+ Compress-Archive -Path "$releaseDir\nvse" -DestinationPath "artifacts\ShowOffNVSE-Release-${{ env.artifact_timestamp }}.zip"
46+ Compress-Archive -Path "$debugDir\nvse" -DestinationPath "artifacts\ShowOffNVSE-Debug-${{ env.artifact_timestamp }}.zip"
4147 shell : pwsh
4248
4349 - name : Publish Zipped Artifacts
Original file line number Diff line number Diff line change 3535
3636 - name : Package Artifacts
3737 run : |
38- mkdir -p artifacts
39- Compress-Archive -Path SHOWOFF-NVSE\Release\ShowOffNVSE.dll, SHOWOFF-NVSE\Release\ShowOffNVSE.pdb -DestinationPath artifacts\ShowOffNVSE-Release-${{ env.artifact_timestamp }}.zip
40- Compress-Archive -Path SHOWOFF-NVSE\Debug\ShowOffNVSE.dll, SHOWOFF-NVSE\Debug\ShowOffNVSE.pdb -DestinationPath artifacts\ShowOffNVSE-Debug-${{ env.artifact_timestamp }}.zip
38+ $releaseDir = "SHOWOFF-NVSE\Release"
39+ $debugDir = "SHOWOFF-NVSE\Debug"
40+ New-Item -ItemType Directory -Name artifacts -Force | Out-Null
41+ New-Item -ItemType Directory -Name "nvse\plugins" -path $releaseDir -Force | Out-Null
42+ New-Item -ItemType Directory -Name "nvse\plugins" -path $debugDir -Force | Out-Null
43+ Copy-Item -Path "$releaseDir\ShowOffNVSE.dll", "$releaseDir\ShowOffNVSE.pdb" -Destination "$releaseDir\nvse\plugins"
44+ Copy-Item -Path "$debugDir\ShowOffNVSE.dll", "$debugDir\ShowOffNVSE.pdb" -Destination "$debugDir\nvse\plugins"
45+ Compress-Archive -Path "$releaseDir\nvse" -DestinationPath "artifacts\ShowOffNVSE-Release-${{ env.artifact_timestamp }}.zip"
46+ Compress-Archive -Path "$debugDir\nvse" -DestinationPath "artifacts\ShowOffNVSE-Debug-${{ env.artifact_timestamp }}.zip"
4147 shell : pwsh
4248
4349 - name : Publish Zipped Artifacts
You can’t perform that action at this time.
0 commit comments