diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 222a2af7..971d19a8 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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" diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 6871062e..e9d97625 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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"