From d9d671791f129b4d9b78cf2d873593efba4d2937 Mon Sep 17 00:00:00 2001 From: TechyGuy17 <65623992+TechyGuy17@users.noreply.github.com> Date: Fri, 8 Dec 2023 11:54:23 +0100 Subject: [PATCH] v6.21.1 --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ed4cd4187..144899e41f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ name: Compile binaries # For testing on: push + jobs: build: runs-on: ubuntu-latest @@ -16,6 +17,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: install deps - run: sudo apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev + run: sudo apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev zip - name: build run: mkdir build && cd build && cmake .. && make + - name: zip + run: mkdir kryptokrona-xmrig-${GITHUB_REF#refs/*/}-linux && mv xmrig kryptokrona-xmrig-${GITHUB_REF#refs/*/}-linux && zip -r kryptokrona-xmrig-${GITHUB_REF#refs/*/}-linux kryptokrona-xmrig-${GITHUB_REF#refs/*/}-linux + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: kryptokrona-xmrig-${GITHUB_REF#refs/*/}-linux.zip