Use src config in xmrig packaging
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user