Add windows support for cicd
/ Build Release Binary (ubuntu-latest) (push) Successful in 1m33s
/ Build Release Binary (windows-latest) (push) Failing after 3m59s

This commit is contained in:
2026-09-16 23:26:59 -04:00
parent 88005f9a0d
commit 1f67b5010c
+13 -4
View File
@@ -2,8 +2,17 @@ on: [ push, pull_request ]
jobs: jobs:
build: build:
name: Build Release Binary name: Build Release Binary (${{ matrix.os }})
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: ubuntu-latest
binary_path: target/release/yt-offline
- os: windows-latest
binary_path: target/release/yt-offline.exe
steps: steps:
- name: Install Rust Toolchain - name: Install Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v2 uses: actions-rust-lang/setup-rust-toolchain@v2
@@ -27,5 +36,5 @@ jobs:
- name: Upload binary artifact - name: Upload binary artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: yt-offline name: yt-offline-${{ matrix.os }}
path: target/release/yt-offline path: ${{ matrix.binary_path }}