hopefully fixes packages paths

This commit is contained in:
otavepto 2024-06-16 19:43:29 +03:00
parent aa96e8c623
commit 77f71aab59
2 changed files with 8 additions and 6 deletions

View File

@ -90,7 +90,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: "release-emu-win-release-${{ github.sha }}"
path: "build/package/win/vs2022/release/*"
path: "build/package/win/vs2022/*release*"
if-no-files-found: 'error'
compression-level: 0
retention-days: 1
@ -99,7 +99,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: "release-emu-win-debug-${{ github.sha }}"
path: "build/package/win/vs2022/debug/*"
path: "build/package/win/vs2022/*debug*"
if-no-files-found: 'error'
compression-level: 0
retention-days: 1
@ -180,7 +180,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: "release-emu-linux-release-${{ github.sha }}"
path: "build/package/linux/gmake2/release/*"
path: "build/package/linux/gmake2/*release*"
if-no-files-found: 'error'
compression-level: 0
retention-days: 1
@ -189,7 +189,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: "release-emu-linux-debug-${{ github.sha }}"
path: "build/package/linux/gmake2/debug/*"
path: "build/package/linux/gmake2/*debug*"
if-no-files-found: 'error'
compression-level: 0
retention-days: 1

View File

@ -70,10 +70,12 @@ if exist "%archive_dir%\" (
)
set "archive_file="
for %%A in ("%archive_dir%") do (
set "archive_file=%archive_dir%\emu-win-%%~nxA.7z"
set "archive_file=%%~dpAemu-win-%%~nxA.7z"
)
mkdir "%archive_dir%"
for %%A in ("%archive_dir%") do (
mkdir "%%~dpA"
)
"%packager%" a "%archive_file%" ".\%target_src_dir%" -t7z -slp -ssw -mx -myx -mmemuse=p%MEM_PERCENT% -ms=on -mqs=off -mf=on -mhc+ -mhe- -m0=LZMA2:d=%DICT_SIZE_MB%m -mmt=%THREAD_COUNT% -mmtf+ -mtm- -mtc- -mta- -mtr+