From bd00e1bfab5bd811657e65963c8cd61000c6b09f Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:05:04 -0600 Subject: [PATCH] testing action --- .github/workflows/on_pr.yaml | 16 ---------------- rootfs/rename_current_arch_binary.sh | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/on_pr.yaml b/.github/workflows/on_pr.yaml index 6107533..19ba142 100644 --- a/.github/workflows/on_pr.yaml +++ b/.github/workflows/on_pr.yaml @@ -19,22 +19,6 @@ on: - "**.toml" jobs: - fmt: - name: Rustfmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4.1.3 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - run: rustup component add rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - hadolint: name: "Linting: hadolint" runs-on: ubuntu-latest diff --git a/rootfs/rename_current_arch_binary.sh b/rootfs/rename_current_arch_binary.sh index 55a2785..3259894 100755 --- a/rootfs/rename_current_arch_binary.sh +++ b/rootfs/rename_current_arch_binary.sh @@ -5,7 +5,7 @@ set -x ls -la /opt/ # determine which binary to keep -if /opt/sdre-hub.amd64 --version > /dev/null 2>&1; then +if /opt/sdre-hub.amd64 --version; then mv -v /opt/sdre-hub.amd64 /opt/sdre-hub elif /opt/sdre-hub.arm64 --version > /dev/null 2>&1; then mv -v /opt/sdre-hub.arm64 /opt/sdre-hub