From 74f53b505faf5f1163d273392eb6a79ee553030a Mon Sep 17 00:00:00 2001 From: Jack Gabriel Acodili <112671361+acodili-jg@users.noreply.github.com> Date: Fri, 10 May 2024 22:46:59 +0800 Subject: [PATCH] Update build-commit.yml --- .github/workflows/build-commit.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-commit.yml b/.github/workflows/build-commit.yml index 53a38eb..b21ba3a 100644 --- a/.github/workflows/build-commit.yml +++ b/.github/workflows/build-commit.yml @@ -30,7 +30,21 @@ jobs: -Wclippy::expect_used \ -Wclippy::unwrap_used - name: Build - run: cargo build --release --verbose + run: | + sudo \ + apt \ + install \ + avr-libc \ + gcc-avr \ + pkg-config \ + avrdude \ + libudev-dev \ + build-essential \ + && \ + cargo \ + build \ + --release \ + --verbose - name: Upload Artifacts uses: actions/upload-artifact@v4 with: