mirror of
https://github.com/Maks1mS/xmrig-zero-donation.git
synced 2025-04-08 02:03:45 +03:00
Compare commits
No commits in common. "main" and "nightly" have entirely different histories.
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Apply patches
|
- name: Apply patches
|
||||||
working-directory: xmrig
|
working-directory: xmrig
|
||||||
run: |
|
run: |
|
||||||
git apply --unidiff-zero < ../patches/*.patch
|
git apply < ../patches/*.patch
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: xmrig
|
working-directory: xmrig
|
||||||
@ -89,7 +89,7 @@ jobs:
|
|||||||
cwd: /tmp
|
cwd: /tmp
|
||||||
files: |
|
files: |
|
||||||
xmrig-nightly
|
xmrig-nightly
|
||||||
outPath: xmrig-nightly-linux-static-x64.tar.gz
|
outPath: xmrig-nightly.tar.gz
|
||||||
|
|
||||||
- name: Release (Nightly)
|
- name: Release (Nightly)
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
@ -97,7 +97,7 @@ jobs:
|
|||||||
prerelease: true
|
prerelease: true
|
||||||
tag_name: "nightly"
|
tag_name: "nightly"
|
||||||
files: |
|
files: |
|
||||||
./xmrig-nightly-linux-static-x64.tar.gz
|
./xmrig-nightly.tar.gz
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -128,12 +128,11 @@ jobs:
|
|||||||
cwd: /tmp
|
cwd: /tmp
|
||||||
files: |
|
files: |
|
||||||
xmrig-${{env.VER}}
|
xmrig-${{env.VER}}
|
||||||
outPath: xmrig-${{env.VER}}-linux-static-x64.tar.gz
|
outPath: xmrig-${{env.VER}}.tar.gz
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{env.VERSION}}
|
tag_name: ${{env.VERSION}}
|
||||||
body: "Changelog: https://github.com/xmrig/xmrig/releases/tag/${{env.VERSION}}"
|
|
||||||
files: |
|
files: |
|
||||||
./xmrig-${{env.VER}}-linux-static-x64.tar.gz
|
./xmrig-${{env.VER}}.tar.gz
|
7
.github/workflows/update-upstream.yml
vendored
7
.github/workflows/update-upstream.yml
vendored
@ -15,11 +15,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
token: ${{ secrets.PAT }}
|
|
||||||
- name: Update module
|
- name: Update module
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive --checkout -f --remote
|
git submodule update --init --recursive --checkout -f --remote
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "GitHub Action"
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "noreply@github.com"
|
||||||
git commit -am "[Automated action] Update xmrig" || true
|
git commit -am "Autoupdate xmrig" || true
|
||||||
git push
|
git push
|
@ -2,8 +2,14 @@ diff --git a/src/donate.h b/src/donate.h
|
|||||||
index 206b1b8f..14cdf9ea 100644
|
index 206b1b8f..14cdf9ea 100644
|
||||||
--- a/src/donate.h
|
--- a/src/donate.h
|
||||||
+++ b/src/donate.h
|
+++ b/src/donate.h
|
||||||
@@ -40,2 +40,2 @@
|
@@ -37,8 +37,8 @@
|
||||||
|
* If you plan on changing donations to 0%, please consider making a one-off donation to my wallet:
|
||||||
|
* XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
|
||||||
|
*/
|
||||||
-constexpr const int kDefaultDonateLevel = 1;
|
-constexpr const int kDefaultDonateLevel = 1;
|
||||||
-constexpr const int kMinimumDonateLevel = 1;
|
-constexpr const int kMinimumDonateLevel = 1;
|
||||||
+constexpr const int kDefaultDonateLevel = 0;
|
+constexpr const int kDefaultDonateLevel = 0;
|
||||||
+constexpr const int kMinimumDonateLevel = 0;
|
+constexpr const int kMinimumDonateLevel = 0;
|
||||||
|
|
||||||
|
|
||||||
|
#endif // XMRIG_DONATE_H
|
||||||
|
2
xmrig
2
xmrig
@ -1 +1 @@
|
|||||||
Subproject commit f9e990d0f0167c92d09334213ac6950033bbbba1
|
Subproject commit c0143b90cee8c19ad603641a5006309e8f3ad27f
|
Loading…
Reference in New Issue
Block a user