Skip to content

Commit 236e640

Browse files
committed
updated workflow file
1 parent 5135f3a commit 236e640

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ jobs:
1212

1313
- uses: pguyot/[email protected]
1414
with:
15-
base_image: https://dietpi.com/downloads/images/DietPi_RPi-ARMv8-Bullseye.img.xz
15+
base_image: dietpi:rpi_armv8_bullseye
1616
cpu: cortex-a53
1717
bind_mount_repository: true
18-
image_additional_mb: 4096
1918
optimize_image: false
2019
commands: |
2120
# Rust complains (rightly) that $HOME doesn't match eid home
@@ -25,11 +24,12 @@ jobs:
2524
# Install setup prerequisites
2625
apt-get update -y --allow-releaseinfo-change
2726
apt-get upgrade -y
28-
apt-get autoremove -y
2927
apt-get install curl
3028
curl https://sh.rustup.rs -sSf | sh -s -- -y
3129
. "$HOME/.cargo/env"
3230
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash
31+
# Build the TUI application
32+
cargo build --release --bin hd-tui
3333
# Install build tools and tauri-cli requirements
3434
apt-get install -y libwebkit2gtk-4.0-dev build-essential wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
3535
# Install wasm32 target and tauri-cli
@@ -42,4 +42,5 @@ jobs:
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
run:
45-
gh release upload ${{ github.event.release.tag_name }} ${{ github.workspace }}/target/release/bundle/deb/home-display*.deb
45+
gh release upload ${{ github.event.release.tag_name }} ${{ github.workspace }}/target/release/hd-tui
46+
gh release upload ${{ github.event.release.tag_name }} ${{ github.workspace }}/target/release/bundle/deb/home-display*.deb

0 commit comments

Comments
 (0)