Skip to content

Commit a36a628

Browse files
committed
Package release from bin/Release
1 parent 4017107 commit a36a628

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,9 @@ jobs:
4848
run: |
4949
$ErrorActionPreference = "Stop"
5050
$root = "$PWD"
51-
$out = Join-Path $root "build/Release"
52-
$x86 = Join-Path $out "x86"
53-
$x64 = Join-Path $out "x64"
54-
55-
New-Item -Force -ItemType Directory $x86, $x64 | Out-Null
56-
57-
Copy-Item -Recurse -Force "$root/bin/Release/x86/*" $x86
58-
Copy-Item -Recurse -Force "$root/bin/Release/x64/*" $x64
59-
60-
New-Item -Force -ItemType Directory (Join-Path $x86 "Plugins"), (Join-Path $x64 "Plugins") | Out-Null
61-
62-
Copy-Item -Recurse -Force "$root/Dependencies/x86/*" $x86
63-
Copy-Item -Recurse -Force "$root/Dependencies/x64/*" $x64
64-
65-
$launcher = Join-Path $out "Launcher"
66-
New-Item -Force -ItemType Directory $launcher | Out-Null
67-
Copy-Item -Recurse -Force "$root/bin/Release/*" $launcher
68-
6951
$zipPath = Join-Path $root "ReClass.NET-$env:GITHUB_REF_NAME.zip"
7052
if (Test-Path $zipPath) { Remove-Item $zipPath -Force }
71-
Compress-Archive -Path $out\* -DestinationPath $zipPath
53+
Compress-Archive -Path "$root/bin/Release/*" -DestinationPath $zipPath
7254
7355
- name: Upload release artifact
7456
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)