Skip to content

Implementing a UI to download a Torrent #15

Implementing a UI to download a Torrent

Implementing a UI to download a Torrent #15

Workflow file for this run

name: Download Debian ISO Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install curl
run: sudo apt-get update && sudo apt-get install -y curl
- name: Install OpenGL & X11
run: sudo apt-get update && sudo apt-get install libgl1-mesa-dev xorg-dev
- name: Download Debian torrent
run: curl -o input/debian.torrent https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/debian-12.5.0-amd64-netinst.iso.torrent
- name: Build and run app
run: make start-cli
- name: Check output
run: |
if [ -f "output/debian-12.5.0-amd64-netinst.iso" ]; then
echo "Output file exists."
else
echo "Output file not found."
exit 1
fi
- name: Display logs
run: cat logs/*.log