Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
ci: add GitHub Actions workflow to publish crate to Crates.io on push to main
Samir Hossains852bbb860613
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlnew file mode 100644index 0000000..69908ed--- /dev/null+++ b/.github/workflows/publish.yml@@ -0,0 +1,23 @@+name: Publish to Crates.io++on:+ push:+ branches:+ - main+ paths:+ - "Cargo.toml"++jobs:+ publish:+ name: Publish+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4++ - name: Install Rust+ uses: dtolnay/rust-toolchain@stable++ - name: Publish to crates.io+ env:+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}+ run: cargo publish