arhivach-downloader

Download arhivach.vc threads
git clone https://git.ea.contact/arhivach-downloader
Log | Files | Refs | README

commit 501041e1c0afd95c956a1467c870e8c5ac955894
parent a5140bb7a950b3c7497fee5907d7836110fea6d2
Author: egor-achkasov <eaachkasov@gmail.com>
Date:   Mon,  9 Mar 2026 11:23:15 +0000

Add github actions build for windows

Diffstat:
A.github/workflows/build.yml | 45+++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -0,0 +1,45 @@ +name: Build Windows Executables + +on: + push: + branches: [master] + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-pc-windows-msvc + + - name: Cache cargo registry + uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + restore-keys: ${{ runner.os }}-cargo- + + - name: Build CLI + run: cargo build --release --bin arhivach-downloader-cli + + - name: Build TUI + run: cargo build --release --bin arhivach-downloader-tui + + - name: Upload CLI artifact + uses: actions/upload-artifact@v4 + with: + name: arhivach-downloader-cli + path: target/release/arhivach-downloader-cli.exe + + - name: Upload TUI artifact + uses: actions/upload-artifact@v4 + with: + name: arhivach-downloader-tui + path: target/release/arhivach-downloader-tui.exe