From 15bfd8df94aa69e81883f0518ccf8ef30b441ec0 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Wed, 22 Jan 2020 17:40:04 +0700 Subject: [PATCH] Fixed xmrig_setup --- .github/workflows/draft.yml | 4 ++-- .github/workflows/main.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index d465318c8f..7d2821973d 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -142,9 +142,9 @@ jobs: cd xmrig_setup git config user.name MoneroOcean git config user.email support@moneroocean.stream - mv ../centos6_build/centos6_build.tar.gz xmrig.tar.xz + mv ../centos6_build/centos6_build.tar.gz xmrig.tar.gz mv ../windows_build/windows_build.zip xmrig.zip unzip xmrig.zip zip -u offline_miner_setup.zip xmrig.exe config.json WinRing0x64.sys - git commit -m "xmrig "${GITHUB_REF:10}" based release" xmrig.tar.xz xmrig.zip offline_miner_setup.zip + git commit -m "xmrig "${GITHUB_REF:10}" based release" xmrig.tar.gz xmrig.zip offline_miner_setup.zip git push diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dce3d41134..7864c7e26d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -136,3 +136,15 @@ jobs: asset_path: centos6_build/centos6_build.tar.gz asset_name: xmrig-${{steps.version.outputs.VERSION}}-lin64-compat.tar.gz asset_content_type: application/zip + - name: Update xmrig_setup repo + run: | + git clone https://$GITHUB_ACTOR:${{secrets.xmrig_setup_key}}@github.com/MoneroOcean/xmrig_setup.git + cd xmrig_setup + git config user.name MoneroOcean + git config user.email support@moneroocean.stream + mv ../centos6_build/centos6_build.tar.gz xmrig.tar.gz + mv ../windows_build/windows_build.zip xmrig.zip + unzip xmrig.zip + zip -u offline_miner_setup.zip xmrig.exe config.json WinRing0x64.sys + git commit -m "xmrig "${GITHUB_REF:10}" based release" xmrig.tar.gz xmrig.zip offline_miner_setup.zip + git push