Use src config in xmrig packaging
build / Build Linux CPU (push) Successful in 1m2s
build / Build Windows CPU (push) Successful in 2m17s

This commit is contained in:
Codex Bot
2026-04-18 20:24:26 +02:00
parent c97068c32d
commit 399d7c8076
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -66,7 +66,8 @@ jobs:
exit 1
fi
cp "$BIN" dist/linux/xmrig
cp config.json README.md LICENSE dist/linux/
cp src/config.json dist/linux/config.json
cp README.md LICENSE dist/linux/
tar -C dist/linux -czf xmrig-peya-linux-x86_64.tar.gz .
- name: Upload artifact
@@ -137,7 +138,7 @@ jobs:
run: |
if not exist dist\windows mkdir dist\windows
copy build\Release\xmrig.exe dist\windows\
copy config.json dist\windows\
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-windows-x86_64.zip -Force"
+3 -2
View File
@@ -105,7 +105,8 @@ jobs:
exit 1
fi
cp "$BIN" dist/linux/xmrig
cp config.json README.md LICENSE dist/linux/
cp src/config.json dist/linux/config.json
cp README.md LICENSE dist/linux/
tar -C dist/linux -czf "xmrig-peya-${{ inputs.tag_name }}-linux-x86_64.tar.gz" .
- name: Upload release asset
@@ -178,7 +179,7 @@ jobs:
run: |
if not exist dist\windows mkdir dist\windows
copy build\Release\xmrig.exe dist\windows\
copy config.json dist\windows\
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"