From 88ba179ad1062b1c0e46aeeab95460c8b6103052 Mon Sep 17 00:00:00 2001
From: Alex Janka <alex@alexjanka.com>
Date: Thu, 26 Dec 2024 22:51:40 +1100
Subject: [PATCH] actions: cargo deb + reorder

---
 .gitea/workflows/build.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml
index 2a670a1..815f419 100644
--- a/.gitea/workflows/build.yaml
+++ b/.gitea/workflows/build.yaml
@@ -14,8 +14,12 @@ jobs:
         uses: actions/checkout@v3
         with:
           submodules: "recursive"
+      - name: Select rustup channel
+        run: "rustup default stable"
       - name: Update toolchain
-        run: "rustup default stable; rustup target add aarch64-unknown-linux-musl"
+        run: "rustup target add aarch64-unknown-linux-musl"
+      - name: Install cargo-deb
+        run: "cargo install --locked cargo-deb"
       - name: Build
         run: "cargo build --release --target=aarch64-unknown-linux-musl"
       - name: Build .deb