diff --git a/.github/workflows/publish-nym-binaries.yml b/.github/workflows/publish-nym-binaries.yml index 3d1e6fc5e9b..be70c514ba4 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: @@ -60,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: