From b9c775c3aebe892137f582b665f2ddc59f2b5d76 Mon Sep 17 00:00:00 2001 From: Tommy Verrall <60836166+tommyv1987@users.noreply.github.com> Date: Tue, 30 Jul 2024 11:27:50 +0200 Subject: [PATCH 1/2] Update publish-nym-binaries.yml add wireguard to builds --- .github/workflows/publish-nym-binaries.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-nym-binaries.yml b/.github/workflows/publish-nym-binaries.yml index 3d1e6fc5e9..7a3812d842 100644 --- a/.github/workflows/publish-nym-binaries.yml +++ b/.github/workflows/publish-nym-binaries.yml @@ -51,6 +51,10 @@ jobs: echo 'RUSTFLAGS="--cfg tokio_unstable"' >> $GITHUB_ENV if: github.event_name == 'workflow_dispatch' && inputs.add_tokio_unstable == true + - name: Set CARGO_FEATURES + run: | + echo 'CARGO_FEATURES=--features wireguard' >> $GITHUB_ENV + - name: Install Rust stable uses: actions-rs/toolchain@v1 with: From 83b416d12d52696f505486db15dd405c9c1c7206 Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Tue, 30 Jul 2024 11:38:07 +0200 Subject: [PATCH 2/2] amend build all binaries command --- .github/workflows/publish-nym-binaries.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-nym-binaries.yml b/.github/workflows/publish-nym-binaries.yml index 7a3812d842..be70c514ba 100644 --- a/.github/workflows/publish-nym-binaries.yml +++ b/.github/workflows/publish-nym-binaries.yml @@ -64,8 +64,8 @@ jobs: uses: actions-rs/cargo@v1 with: command: build - args: --workspace --release - + args: --workspace --release ${{ env.CARGO_FEATURES }} + - name: Upload Artifact uses: actions/upload-artifact@v3 with: