From e29c863a5f5d9c4b29bce80c994b3ba37e81bc50 Mon Sep 17 00:00:00 2001
From: Chris O'Neil <chriso83@protonmail.com>
Date: Thu, 16 May 2024 18:17:59 +0100
Subject: [PATCH] chore: build auditor in release artifacts workflow

This workflow is useful for testing and I can use it to produce auditor artifacts that can manually
be uploaded to S3.
---
 .github/workflows/build-release-artifacts.yml | 5 +++--
 Justfile                                      | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build-release-artifacts.yml b/.github/workflows/build-release-artifacts.yml
index 019232f8a1..01c2924e81 100644
--- a/.github/workflows/build-release-artifacts.yml
+++ b/.github/workflows/build-release-artifacts.yml
@@ -104,13 +104,14 @@ jobs:
         shell: bash
         run: |
           tree artifacts
+          just package-release-assets "faucet"
+          just package-release-assets "node-launchpad"
           just package-release-assets "safe"
           just package-release-assets "safenode"
-          just package-release-assets "faucet"
           just package-release-assets "safenode_rpc_client"
           just package-release-assets "safenode-manager"
           just package-release-assets "safenodemand"
-          just package-release-assets "node-launchpad"
+          just package-release-assets "sn_auditor"
       - uses: actions/upload-artifact@main
         with:
           name: packaged_binaries
diff --git a/Justfile b/Justfile
index 93dca7ef9c..ae70d54708 100644
--- a/Justfile
+++ b/Justfile
@@ -129,7 +129,7 @@ build-release-artifacts arch:
     cargo build --release --target $arch --bin safenode-manager
     cargo build --release --target $arch --bin safenodemand
     cargo build --release --target $arch --bin safenode_rpc_client
-    cross build --release --target $arch --bin sn_auditor
+    cargo build --release --target $arch --bin sn_auditor
   fi
 
   find target/$arch/release -maxdepth 1 -type f -exec cp '{}' artifacts \;