3 Commits

Author SHA1 Message Date
Codex Bot 6733da67ee Fix Windows xmrig release packaging
build / Build Linux CPU (push) Successful in 1m3s
build / Build Windows CPU (push) Successful in 2m23s
2026-04-18 21:36:19 +02:00
Codex Bot c458457b94 Use cmd shell for Windows release upload step 2026-04-18 21:30:05 +02:00
Codex Bot 4463a29afc Force cmd shell for Windows release upload 2026-04-18 21:25:30 +02:00
2 changed files with 19 additions and 2 deletions
+9 -1
View File
@@ -137,7 +137,15 @@ jobs:
shell: cmd
run: |
if not exist dist\windows mkdir dist\windows
copy build\Release\xmrig.exe dist\windows\
set BIN_PATH=
if exist build\Release\xmrig.exe set BIN_PATH=build\Release\xmrig.exe
if not defined BIN_PATH if exist build\Release\xmrig-notls.exe set BIN_PATH=build\Release\xmrig-notls.exe
if not defined BIN_PATH (
echo Could not find xmrig.exe or xmrig-notls.exe in build\Release
dir build\Release
exit /b 1
)
copy %BIN_PATH% dist\windows\xmrig.exe
copy src\config.json dist\windows\config.json
copy README.md dist\windows\
copy LICENSE dist\windows\
+10 -1
View File
@@ -194,13 +194,22 @@ jobs:
shell: cmd
run: |
if not exist dist\windows mkdir dist\windows
copy build\Release\xmrig.exe dist\windows\
set BIN_PATH=
if exist build\Release\xmrig.exe set BIN_PATH=build\Release\xmrig.exe
if not defined BIN_PATH if exist build\Release\xmrig-notls.exe set BIN_PATH=build\Release\xmrig-notls.exe
if not defined BIN_PATH (
echo Could not find xmrig.exe or xmrig-notls.exe in build\Release
dir build\Release
exit /b 1
)
copy %BIN_PATH% dist\windows\xmrig.exe
copy src\config.json dist\windows\config.json
copy README.md dist\windows\
copy LICENSE dist\windows\
powershell -NoProfile -Command "Compress-Archive -Path dist\\windows\\* -DestinationPath xmrig-peya-${{ inputs.tag_name }}-windows-x86_64.zip -Force"
- name: Upload release asset
shell: cmd
env:
GITEA_TOKEN: ${{ secrets.GITEA_PAT }}
PEYA_GITEA_PAT: ${{ secrets.PEYA_GITEA_PAT }}