From dfcf81224374d67b51922f852ba84d261fb6b060 Mon Sep 17 00:00:00 2001 From: Tommy Verrall <60836166+tommyv1987@users.noreply.github.com> Date: Wed, 12 Apr 2023 09:19:11 +0200 Subject: [PATCH 1/2] change the binary build --- .../build-and-upload-binaries-ci.yml | 29 ++----------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build-and-upload-binaries-ci.yml b/.github/workflows/build-and-upload-binaries-ci.yml index d1989f99da..008b557517 100644 --- a/.github/workflows/build-and-upload-binaries-ci.yml +++ b/.github/workflows/build-and-upload-binaries-ci.yml @@ -4,34 +4,11 @@ on: workflow_dispatch: push: paths: - - 'clients/**' - - 'common/**' - - 'contracts/**' - - 'explorer-api/**' - - 'gateway/**' - - 'integrations/**' - 'mixnode/**' - - 'sdk/rust/nym-sdk/**' - - 'service-providers/**' - - 'nym-api/**' - - 'nym-outfox/**' - - 'tools/nym-cli/**' - - 'tools/ts-rs-cli/**' + pull_request: paths: - - 'clients/**' - - 'common/**' - - 'contracts/**' - - 'explorer-api/**' - - 'gateway/**' - - 'integrations/**' - 'mixnode/**' - - 'sdk/rust/nym-sdk/**' - - 'service-providers/**' - - 'nym-api/**' - - 'nym-outfox/**' - - 'tools/nym-cli/**' - - 'tools/ts-rs-cli/**' env: NETWORK: mainnet @@ -65,11 +42,11 @@ jobs: with: toolchain: stable - - name: Build all binaries + - name: Build all mixnode binary uses: actions-rs/cargo@v1 with: command: build - args: --workspace --release --all --features cpu-cycles + args: --manifest-path mixnode/Cargo.toml --release --features cpu-cycles - name: Install Rust stable uses: actions-rs/toolchain@v1 From 18a24fc10d15a6fffde07be37f2c3f014b2516be Mon Sep 17 00:00:00 2001 From: Tommy Verrall <60836166+tommyv1987@users.noreply.github.com> Date: Wed, 12 Apr 2023 09:20:30 +0200 Subject: [PATCH 2/2] update cpu-cycles --- .github/workflows/build-and-upload-binaries-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-upload-binaries-ci.yml b/.github/workflows/build-and-upload-binaries-ci.yml index 008b557517..aec1074f08 100644 --- a/.github/workflows/build-and-upload-binaries-ci.yml +++ b/.github/workflows/build-and-upload-binaries-ci.yml @@ -46,7 +46,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --manifest-path mixnode/Cargo.toml --release --features cpu-cycles + args: --manifest-path mixnode/Cargo.toml --release --features cpucycles - name: Install Rust stable uses: actions-rs/toolchain@v1