@@ -55,26 +55,26 @@ jobs:
5555 - name : Package release zip
5656 shell : pwsh
5757 run : |
58- $packageRoot = "dist/uc-online2-${{ github.ref_name }}. release"
59- $archivePath = "$packageRoot .zip"
58+ $packageRootrel = "dist/uc-online2-${{ github.ref_name }}- release"
59+ $archivePathrel = "$packageRootrel .zip"
6060
61- New-Item -ItemType Directory -Path "$packageRoot /x86" -Force | Out-Null
62- New-Item -ItemType Directory -Path "$packageRoot /x64" -Force | Out-Null
61+ New-Item -ItemType Directory -Path "$packageRootrel /x86" -Force | Out-Null
62+ New-Item -ItemType Directory -Path "$packageRootrel /x64" -Force | Out-Null
6363
64- Copy-Item "relbuild/x86/steam_api.dll" "$packageRoot /x86/steam_api.dll"
65- Copy-Item "relbuild/x64/steam_api64.dll" "$packageRoot /x64/steam_api64.dll"
64+ Copy-Item "relbuild/x86/steam_api.dll" "$packageRootrel /x86/steam_api.dll"
65+ Copy-Item "relbuild/x64/steam_api64.dll" "$packageRootrel /x64/steam_api64.dll"
6666
67- if (Test-Path $archivePath ) {
68- Remove-Item $archivePath -Force
67+ if (Test-Path $archivePathrel ) {
68+ Remove-Item $archivePathrel -Force
6969 }
7070
71- Compress-Archive -Path $packageRoot -DestinationPath $archivePath
71+ Compress-Archive -Path $packageRootrel -DestinationPath $archivePathrel
7272
7373 - name : Package debug zip
7474 shell : pwsh
7575 run : |
76- $packageRootdeb = "dist/uc-online2-${{ github.ref_name }}. debug"
77- $archivePathdeb = "$packageRoot .zip"
76+ $packageRootdeb = "dist/uc-online2-${{ github.ref_name }}- debug"
77+ $archivePathdeb = "$packageRootdeb .zip"
7878
7979 New-Item -ItemType Directory -Path "$packageRootdeb/x86" -Force | Out-Null
8080 New-Item -ItemType Directory -Path "$packageRootdeb/x64" -Force | Out-Null
@@ -92,11 +92,11 @@ jobs:
9292 uses : actions/upload-artifact@v4
9393 with :
9494 name : |
95- uc-online2-${{ github.ref_name }}. release
96- uc-online2-${{ github.ref_name }}. debug
95+ uc-online2-${{ github.ref_name }}- release
96+ uc-online2-${{ github.ref_name }}- debug
9797 path : |
98- dist/uc-online2-${{ github.ref_name }}. release.zip
99- dist/uc-online2-${{ github.ref_name }}. debug.zip
98+ dist/uc-online2-${{ github.ref_name }}- release.zip
99+ dist/uc-online2-${{ github.ref_name }}- debug.zip
100100 if-no-files-found : error
101101
102102 - name : Publish release assets
@@ -106,7 +106,7 @@ jobs:
106106 tag_name : ${{ github.ref_name }}
107107 name : ${{ github.ref_name }}
108108 files : |
109- dist/uc-online2-${{ github.ref_name }}. release.zip
110- dist/uc-online2-${{ github.ref_name }}. debug.zip
109+ dist/uc-online2-${{ github.ref_name }}- release.zip
110+ dist/uc-online2-${{ github.ref_name }}- debug.zip
111111 generate_release_notes : true
112112 fail_on_unmatched_files : true
0 commit comments